]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d8de1501b8929ad66abe4bc6825327480ec2e70
tree57fb20813d8e6691633fb723eb9a7c8a1f8572a2
parent380cd979a52802245f267cade6bfe04b850f8e9c
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