]> 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)
commitea23bf848c55d8bea6d86bceaad93e25783da471
treef3c746b11069e14f6e80e3015aa4e334085511ff
parentaa0dd5bc84806f2e03cf2fa46312601a5e6a1fcf
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