ASoC: adau17x1: Handling of DSP_RUN register during fw setup
authorDanny Smith <dannys@axis.com>
Mon, 9 Apr 2018 13:13:35 +0000 (15:13 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 13 Apr 2018 10:39:16 +0000 (11:39 +0100)
commitd0f8b9c5a350ca6fa842b52bfb88b77b34ee485b
tree2ef9c5ec2e63a2b6c9737de30662ffcae84e4458
parent65030ff305bc9c51cb75705483bdaac7813778f0
ASoC: adau17x1: Handling of DSP_RUN register during fw setup

DSP_RUN needs to be disabled during firmware write otherwise
we can end up with undefined behavior if writing to a dsp which
is already running firmware.

Signed-off-by: Danny Smith <dannys@axis.com>
Signed-off-by: Robert Rosengren <robert.rosengren@axis.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau17x1.c
sound/soc/codecs/adau17x1.h