ASoC: stm32: i2s: fix registers declaration in regmap
authorOlivier Moysan <olivier.moysan@st.com>
Mon, 11 Mar 2019 15:39:28 +0000 (16:39 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:58:51 +0000 (16:58 +0000)
commita39fe6e2061615496c12825d6d249fedf1974f8a
tree7e8d1df53673e679515a95d572af85ec79f8f8be
parent844a4a362dbec166b44d6b9b3dd45b08cb273703
ASoC: stm32: i2s: fix registers declaration in regmap

- Declare SR as volatile, as it is changed by hardware.
- Remove TXDR from readable and volatile register list,
as it is intended for write accesses only.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_i2s.c