commit | ca8b387803072a16baf6d8090591b10bfdf4e253 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Wed Jul 10 12:09:47 2013 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Aug 27 14:24:07 2013 +0530 |
tree | 369a7e9cc93d4ff6d7e9445d57ef933a107eb75f | |
parent | 115357e9774ff8d70a84d3c31f271209913637b0 [diff] |
DMA: shdma: support the new CHCLR register layout On newer r-car SoCs the CHCLR register only contains one bit per channel, to which a 1 has to be written to reset the channel. Older SoC versions had one CHCLR register per channel, to which a 0 must be written to reset the channel and clear its buffers. This patch adds support for the newer layout. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>