summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>2019-08-20 19:24:10 +0300
committerMark Brown <broonie@kernel.org>2019-08-20 18:36:51 +0100
commit0f6fc97501b790c971b11b52a654009d21c45238 (patch)
treee1d7cb02ef47876656fae49c7f10017a1f4fcf0a /sound/soc/amd
parent988b59467b2b14523a266957affbe9eca3e99fc9 (diff)
downloadlinux-stable-0f6fc97501b790c971b11b52a654009d21c45238.tar.gz
linux-stable-0f6fc97501b790c971b11b52a654009d21c45238.tar.bz2
linux-stable-0f6fc97501b790c971b11b52a654009d21c45238.zip
ASoC: mchp-i2s-mcc: Wait for RX/TX RDY only if controller is running
Since hw_free() can be called multiple times and not just after a stop trigger command, we should check whether the RX or TX ready interrupt was truly enabled previously. For this, we assure that the condition of the wait event is always true, except when RX/TX interrupts are enabled. Fixes: 7e0cdf545a55 ("ASoC: mchp-i2s-mcc: add driver for I2SC Multi-Channel Controller") Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Link: https://lore.kernel.org/r/20190820162411.24836-3-codrin.ciubotariu@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
0 files changed, 0 insertions, 0 deletions