[U-Boot] [PATCH 3/5] drivers: dma: Factor out dma_get_device from DMA class function

Simon Glass sjg at chromium.org
Fri Jun 1 14:25:27 UTC 2018


On 31 May 2018 at 02:08,  <tien.fong.chee at intel.com> wrote:
> From: Tien Fong Chee <tien.fong.chee at 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.chee at 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 <sjg at chromium.org>


More information about the U-Boot mailing list