]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 19 Mar 2019 11:52:06 +0000 (11:52 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Mar 2019 12:36:04 +0000 (12:36 +0000)
commit0e0f76e7285198fea411612850ba5bf7166b4c58
tree6cb9289ca86653c7c14ac3c86e0b6e173e37759d
parent6383afcb1754586a47405b998468d80b5c80e4ca
ASoC: wm_adsp: Add locking to wm_adsp2_bus_error

Best to lock across handling the bus error to ensure the DSP doesn't
change power state as we are reading the status registers.

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