* [PATCH] ASoC: mchp-spdiftx: Do not set Validity bit(s)
@ 2020-11-04 15:57 Codrin Ciubotariu
2020-11-04 20:43 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Codrin Ciubotariu @ 2020-11-04 15:57 UTC (permalink / raw)
To: alsa-devel, linux-arm-kernel, linux-kernel
Cc: lgirdwood, broonie, nicolas.ferre, alexandre.belloni,
ludovic.desroches, Codrin Ciubotariu
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: 06ca24e98e6b ("ASoC: mchp-spdiftx: add driver for S/PDIF TX Controller")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
---
sound/soc/atmel/mchp-spdiftx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/atmel/mchp-spdiftx.c b/sound/soc/atmel/mchp-spdiftx.c
index 82c1eecd2528..3bd350afb743 100644
--- a/sound/soc/atmel/mchp-spdiftx.c
+++ b/sound/soc/atmel/mchp-spdiftx.c
@@ -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);
--
2.27.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: mchp-spdiftx: Do not set Validity bit(s)
2020-11-04 15:57 [PATCH] ASoC: mchp-spdiftx: Do not set Validity bit(s) Codrin Ciubotariu
@ 2020-11-04 20:43 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2020-11-04 20:43 UTC (permalink / raw)
To: Codrin Ciubotariu, linux-kernel, linux-arm-kernel, alsa-devel
Cc: nicolas.ferre, ludovic.desroches, lgirdwood, alexandre.belloni
On Wed, 4 Nov 2020 17:57:38 +0200, Codrin Ciubotariu wrote:
> 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.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: mchp-spdiftx: Do not set Validity bit(s)
commit: f9d7c6eb23f7e55e7a0ca5451da06909bdfdd0e4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-04 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 15:57 [PATCH] ASoC: mchp-spdiftx: Do not set Validity bit(s) Codrin Ciubotariu
2020-11-04 20:43 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®