summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/common
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2019-08-26 17:00:52 +0800
committerMark Brown <broonie@kernel.org>2019-08-27 20:38:42 +0100
commite9e897d5fdba9bda3a8c80ea39761413725f198c (patch)
treeb50e9407ffd79683ecddca91d1cdd7cf3c046229 /sound/soc/mediatek/common
parentf6e77921969003eaf5dbae9c0b5feeb20c6caf50 (diff)
downloadlwn-e9e897d5fdba9bda3a8c80ea39761413725f198c.tar.gz
lwn-e9e897d5fdba9bda3a8c80ea39761413725f198c.zip
ASoC: rt1011: add mutex protection to set_fmt/set_tdm_slot
The calibration process at booting will reset registers and bypass cache to make sure the calibration is done. We add mutex protection to avoid unexpected settings while the registration process and calibration are interleaved. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://lore.kernel.org/r/20190826090052.1875-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/common')
0 files changed, 0 insertions, 0 deletions