Re: [PATCH V4 02/25] mmc: mmci: create generic mmci_dma_setup

2018-10-03 Thread Ludovic BARRE
hi Ulf On 10/03/2018 11:22 AM, Ulf Hansson wrote: + Srinivas for next series, I will add Srinivas [...] #ifdef CONFIG_DMA_ENGINE -static void mmci_dma_setup(struct mmci_host *host) +static inline void mmci_dma_release(struct mmci_host *host); + +int mmci_dmae_setup(struct mmci_host

Re: [PATCH V4 02/25] mmc: mmci: create generic mmci_dma_setup

2018-10-03 Thread Ludovic BARRE
hi Ulf On 10/03/2018 11:22 AM, Ulf Hansson wrote: + Srinivas for next series, I will add Srinivas [...] #ifdef CONFIG_DMA_ENGINE -static void mmci_dma_setup(struct mmci_host *host) +static inline void mmci_dma_release(struct mmci_host *host); + +int mmci_dmae_setup(struct mmci_host

Re: [PATCH V4 02/25] mmc: mmci: create generic mmci_dma_setup

2018-10-03 Thread Ulf Hansson
+ Srinivas [...] > #ifdef CONFIG_DMA_ENGINE > -static void mmci_dma_setup(struct mmci_host *host) > +static inline void mmci_dma_release(struct mmci_host *host); > + > +int mmci_dmae_setup(struct mmci_host *host) > { > const char *rxname, *txname; > > @@ -464,8 +485,12 @@ static void

Re: [PATCH V4 02/25] mmc: mmci: create generic mmci_dma_setup

2018-10-03 Thread Ulf Hansson
+ Srinivas [...] > #ifdef CONFIG_DMA_ENGINE > -static void mmci_dma_setup(struct mmci_host *host) > +static inline void mmci_dma_release(struct mmci_host *host); > + > +int mmci_dmae_setup(struct mmci_host *host) > { > const char *rxname, *txname; > > @@ -464,8 +485,12 @@ static void

[PATCH V4 02/25] mmc: mmci: create generic mmci_dma_setup

2018-10-02 Thread Ludovic Barre
From: Ludovic Barre This patch creates a generic mmci_dma_setup which calls dma_setup callback of mmci_host_ops and manages common features like use_dma... If there is a fallbacks to pio mode, dma functions must check use_dma. If one of dma channels is not defined (in dma engine config) release

[PATCH V4 02/25] mmc: mmci: create generic mmci_dma_setup

2018-10-02 Thread Ludovic Barre
From: Ludovic Barre This patch creates a generic mmci_dma_setup which calls dma_setup callback of mmci_host_ops and manages common features like use_dma... If there is a fallbacks to pio mode, dma functions must check use_dma. If one of dma channels is not defined (in dma engine config) release