On 31 May 2018 at 02:08, <tien.fong.c...@intel.com> wrote: > From: Tien Fong Chee <tien.fong.c...@intel.com> > > 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 <tien.fong.c...@intel.com> > --- > 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 <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot