]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: at_xdmac: rework slave configuration part
authorLudovic Desroches <ludovic.desroches@atmel.com>
Mon, 8 Jun 2015 08:33:15 +0000 (10:33 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 8 Jun 2015 10:57:09 +0000 (16:27 +0530)
commit765c37d876698268eea8b820081ac8fc9d0fc8bc
treef3c746b11069e14f6e80e3015aa4e334085511ff
parent4c374fc7ce944024936a6d9804daec85207d9384
dmaengine: at_xdmac: rework slave configuration part

Rework slave configuration part in order to more report wrong errors
about the configuration.
Only maxburst and addr width values are checked when doing the slave
configuration. The validity of the channel configuration is done at
prepare time.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: stable@vger.kernel.org # 4.0 and later
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c