OSDN Git Service

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 08:21:35 +0000 (09:21 +0100)
commit86c823d4a99ceb869f53320a0cbbe721d8f2c84c
treec29d5b23064c211bb863e6323f1e9bbc5fd5362c
parentcacd33b1c9b0700f8cba2f8f57278173822f90db
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