On 31 May 2018 at 02:08, <[email protected]> wrote: > From: Tien Fong Chee <[email protected]> > > Factor out the dma_get_device from DMA class function so caller can > set some configuration and changes on the DMA device structure which > is return by calling dma_get_device before device instance is processed by > DMA class functions. > > Signed-off-by: Tien Fong Chee <[email protected]> > --- > drivers/dma/dma-uclass.c | 8 +------- > drivers/mtd/spi/spi_flash.c | 9 ++++++++- > include/dma.h | 3 ++- > 3 files changed, 11 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

