ASoC: rcar: clear DE bit only in PDMACHCR when it stops
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Mar 2017 00:34:49 +0000 (09:34 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 15 Mar 2017 17:28:47 +0000 (17:28 +0000)
commit62a10498afb27370ec6018e9d802b74850fd8d9a
tree57fb20813d8e6691633fb723eb9a7c8a1f8572a2
parenta1c2ff53726907aff5feb37e4cfd45c1ff626431
ASoC: rcar: clear DE bit only in PDMACHCR when it stops

R-Car datasheet indicates "Clear DE in PDMACHCR" for transfer stop,
but current code clears all bits in PDMACHCR.
Because of this, DE bit might never been cleared,
and it causes CMD overflow. This patch fixes this issue.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/dma.c