ASoC: sti: set iec958 channel status sampling freq
authorMoise Gergaud <moise.gergaud@st.com>
Tue, 24 Nov 2015 13:16:35 +0000 (14:16 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 25 Nov 2015 12:34:50 +0000 (12:34 +0000)
commit0d3f3c9a48d758454b0f57ca3eccd9ea3f6a4724
treebbb136746265dc8bdad2857276a71b983f32bb1d
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: sti: set iec958 channel status sampling freq

Previously, the iec958 channels status sampling freq was set only if not
already set. It means that it is not updated for next PCM sessions.
With this patch, we ensure the iec958 channels status sampling freq is set
to the runtime rate for each PCM session.

Signed-off-by: Moise Gergaud <moise.gergaud@st.com>
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/uniperif_player.c