Skip to contentSkip to conversation

ASoC: wm5110: Set symmetric samplebits on AIFs

PATCH Applied Richard Fitzgerald 2 participants 4 messages Jul 22, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ASoC: wm5110: Set symmetric samplebits on AIFs

Different playback and capture bits-per-sample
are not supported on the AIFs

---
 sound/soc/codecs/wm5110.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
sound/soc/codecs/wm5110.c +3 -0
index 62ef544..2f2ec26 100644
@@ -1485,6 +1485,7 @@ static struct snd_soc_dai_driver wm5110_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm5110-aif2",
@@ -1506,6 +1507,7 @@ static struct snd_soc_dai_driver wm5110_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm5110-aif3",
@@ -1527,6 +1529,7 @@ static struct snd_soc_dai_driver wm5110_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm5110-slim1",
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 2/3 ASoC: wm5102: Set symmetric samplebits on AIFs

Different playback and capture bits-per-sample
are not supported on the AIFs

---
 sound/soc/codecs/wm5102.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
sound/soc/codecs/wm5102.c +3 -0
index fa24d55..f602349 100644
@@ -1715,6 +1715,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm5102-aif2",
@@ -1736,6 +1737,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm5102-aif3",
@@ -1757,6 +1759,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm5102-slim1",
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 3/3 ASoC: wm8997: Set symmetric samplebits on AIFs

In reply to Richard Fitzgerald

Different playback and capture bits-per-sample
are not supported on the AIFs

---
 sound/soc/codecs/wm8997.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8997.c +2 -0
index bb9b47b..ab33fe5 100644
@@ -967,6 +967,7 @@ static struct snd_soc_dai_driver wm8997_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm8997-aif2",
@@ -988,6 +989,7 @@ static struct snd_soc_dai_driver wm8997_dai[] = {
 		 },
 		.ops = &arizona_dai_ops,
 		.symmetric_rates = 1,
+		.symmetric_samplebits = 1,
 	},
 	{
 		.name = "wm8997-slim1",
Signature · 1 line
1.7.2.5