ASoC: stm32: i2s: fix IRQ clearing
authorOlivier Moysan <olivier.moysan@st.com>
Tue, 26 Feb 2019 13:51:04 +0000 (14:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:38:34 +0000 (15:38 +0100)
commit861bdf61e64d8afda07ab76398d645cf1d778040
treec733d0b50176f7f35032229e6f9149aa07c0fe97
parent8eccb17132c587a0b98301d79cdc52930516d689
ASoC: stm32: i2s: fix IRQ clearing

commit 8ba3c5215d69c09f5c39783ff3b78347769822ad upstream.

Because of regmap cache, interrupts may not be cleared
as expected.
Declare IFCR register as write only and make writings
to IFCR register unconditional.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/stm/stm32_i2s.c