ASoC: stm32: i2s: skip useless write in slave mode
authorOlivier Moysan <olivier.moysan@st.com>
Tue, 26 Feb 2019 13:51:10 +0000 (14:51 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 26 Feb 2019 15:42:10 +0000 (15:42 +0000)
commit7b6b0049e2b70d103adf1b7d0320802f70ddceca
tree946c00851c3290ef2e7c1176eca141696565d06d
parent3005decf4fe43e65d882dce838716bd6715757c1
ASoC: stm32: i2s: skip useless write in slave mode

Dummy write in capture master mode is used to gate
bus clocks. This write is useless in slave mode
as the clocks are not managed by slave.

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