]> git.baikalelectronics.ru Git - kernel.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)
commitc1a7cbb5ed8a334486418d6396c9b555f8b52580
treef3c746b11069e14f6e80e3015aa4e334085511ff
parent3aa32fb195de546c4d0c788f4d0eef8699b2f01a
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