Skip to content

Commit

Permalink
ASoC: mchp-spdiftx: Do not set Validity bit(s)
Browse files Browse the repository at this point in the history
The Validity bits (bit 28) must not be set in order to have the samples
valid. Some controllers look for this bit and ignore the samples if it
is set.

Fixes: 06ca24e ("ASoC: mchp-spdiftx: add driver for S/PDIF TX Controller")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20201104155738.68403-1-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Codrin Ciubotariu authored and Mark Brown committed Nov 4, 2020
1 parent 6ec6c36 commit f9d7c6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/atmel/mchp-spdiftx.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ static int mchp_spdiftx_hw_params(struct snd_pcm_substream *substream,
}
mchp_spdiftx_channel_status_write(dev);
spin_unlock_irqrestore(&ctrl->lock, flags);
mr |= SPDIFTX_MR_VALID1 | SPDIFTX_MR_VALID2;

if (dev->gclk_enabled) {
clk_disable_unprepare(dev->gclk);
Expand Down

0 comments on commit f9d7c6e

Please sign in to comment.