ASoC: wm_adsp: Disable DMAs before clearing the transfer length
authorSimon Trimmer <simont@opensource.wolfsonmicro.com>
Wed, 22 Jun 2016 14:31:03 +0000 (15:31 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jun 2016 14:45:06 +0000 (15:45 +0100)
commit6facd2d10f828d14dd7a38153cd7814d92a47397
tree3ab09ea70ac00c829876d1b090db5dd1993c9fca
parent28ee3d73773e2d9ae922f7496723ab5c92cc16de
ASoC: wm_adsp: Disable DMAs before clearing the transfer length

This patch reorders the clearing of the DMA masks to avoid potential
artefacts being introduced.

Signed-off-by: Simon Trimmer <simont@opensource.wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c