android_kernel_xiaomi_sm8350/drivers/dma
Jassi Brar cc05ea0cd6 DMA ENGINE: Do not reset 'private' of channel
The member 'private' of 'struct dma_chan' is meant for passing
data between client and the controller driver.

The DMA client driver may point it to platform specific stuff after
acquiring the channel. So, it is the responsiblity of the same code
to reset it, if it must.

The DMA engine doesn't set it and hence, shouldn't reset it either.

This reseting of private by DMA Engine comes in the way of implementing
default channel settings during DMAC probe. That capability is useful
for not having the clients to always provide platform specific data,
like Rx/Tx FIFO addresses, which usually doesn't change across channel
requests.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2010-05-17 01:33:56 -07:00
..
ioat dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
ipu dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
ppc4xx dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
at_hdmac_regs.h at_hdmac: implement a private tx_list 2009-09-08 17:53:03 -07:00
at_hdmac.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
coh901318_lli.c DMAENGINE: COH 901 318 lli sg offset fix 2010-03-02 14:17:46 -07:00
coh901318_lli.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
coh901318.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
dmaengine.c DMA ENGINE: Do not reset 'private' of channel 2010-05-17 01:33:56 -07:00
dmatest.c Merge branch 'coh' into dmaengine 2010-03-03 21:22:21 -07:00
dw_dmac_regs.h dw_dmac: implement a private tx_list 2009-09-08 17:53:02 -07:00
dw_dmac.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
fsldma.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
fsldma.h fsldma: major cleanups and fixes 2010-02-02 14:51:42 -07:00
iop-adma.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
iovlock.c net_dma: poll for a descriptor after allocation failure 2009-09-08 17:38:54 -07:00
Kconfig DMAENGINE: Support for ST-Ericssons DMA40 block v3 2010-04-14 14:49:20 -07:00
Makefile DMAENGINE: Support for ST-Ericssons DMA40 block v3 2010-04-14 14:49:20 -07:00
mpc512x_dma.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
mv_xor.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
mv_xor.h mv_xor: implement a private tx_list 2009-09-08 17:53:03 -07:00
shdma.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
shdma.h dmaengine: shdma: extend .device_terminate_all() to record partial transfer 2010-03-02 11:12:03 +09:00
ste_dma40_ll.c DMAENGINE: Support for ST-Ericssons DMA40 block v3 2010-04-14 14:49:20 -07:00
ste_dma40_ll.h DMAENGINE: Support for ST-Ericssons DMA40 block v3 2010-04-14 14:49:20 -07:00
ste_dma40.c DMAENGINE: Support for ST-Ericssons DMA40 block v3 2010-04-14 14:49:20 -07:00
timb_dma.c async_tx: use of kzalloc/kfree requires the include of slab.h 2010-03-29 15:26:06 -07:00
txx9dmac.c dmaengine: provide helper for setting txstate 2010-03-26 16:52:10 -07:00
txx9dmac.h txx9dmac: implement a private tx_list 2009-09-08 17:53:03 -07:00