]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita2225a6d155fcb247fe4c6d87f7c91807462966d
tree6cb9289ca86653c7c14ac3c86e0b6e173e37759d
parent48ead31ce247dc8c0b01ad99d1a97da35421493b
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