mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Test update to 4.14
This commit is contained in:
parent
57d33083f7
commit
dccb17c612
270 changed files with 149330 additions and 5 deletions
|
@ -0,0 +1,41 @@
|
|||
From 567934e27ec2e6e61e78100799dc196f1d78dcb0 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Reichl <hias@horus.com>
|
||||
Date: Sun, 7 May 2017 16:24:57 +0200
|
||||
Subject: [PATCH 125/277] ASoC: bcm2835: Enforce full symmetry
|
||||
|
||||
bcm2835's configuration registers can't be changed when a stream
|
||||
is running, which means asymmetric configurations aren't supported.
|
||||
|
||||
Channel and rate symmetry are already enforced by constraints
|
||||
but samplebits had been missed.
|
||||
|
||||
As hw_params doesn't check for symmetry constraints by itself
|
||||
and just returns success if a stream is running this led to
|
||||
situations where asymmetric configurations were seeming to
|
||||
succeed but of course didn't work because the hardware wasn't
|
||||
configured at all.
|
||||
|
||||
Fix this by adding the missing samplerate symmetry constraint.
|
||||
|
||||
Signed-off-by: Matthias Reichl <hias@horus.com>
|
||||
---
|
||||
sound/soc/bcm/bcm2835-i2s.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c
|
||||
index 43f5715a0d5d..2e449d7173fc 100644
|
||||
--- a/sound/soc/bcm/bcm2835-i2s.c
|
||||
+++ b/sound/soc/bcm/bcm2835-i2s.c
|
||||
@@ -783,7 +783,8 @@ static struct snd_soc_dai_driver bcm2835_i2s_dai = {
|
||||
| SNDRV_PCM_FMTBIT_S32_LE
|
||||
},
|
||||
.ops = &bcm2835_i2s_dai_ops,
|
||||
- .symmetric_rates = 1
|
||||
+ .symmetric_rates = 1,
|
||||
+ .symmetric_samplebits = 1,
|
||||
};
|
||||
|
||||
static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg)
|
||||
--
|
||||
2.16.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue