]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a0ea1d5d4dcfdb5cc89ddec46d06158d2b00fca
tree2ef9c5ec2e63a2b6c9737de30662ffcae84e4458
parent15214c85769623362bc4f07596a7817ee3f51d8a
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