Skip to content

Commit

Permalink
ASoC: wm5102: Set symmetric samplebits on AIFs
Browse files Browse the repository at this point in the history
Different playback and capture bits-per-sample
are not supported on the AIFs

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Richard Fitzgerald authored and Mark Brown committed Jul 22, 2014
1 parent 3d02cc7 commit 11ecf2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/codecs/wm5102.c
Original file line number Diff line number Diff line change
Expand Up @@ -1653,6 +1653,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
},
.ops = &arizona_dai_ops,
.symmetric_rates = 1,
.symmetric_samplebits = 1,
},
{
.name = "wm5102-aif2",
Expand All @@ -1674,6 +1675,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
},
.ops = &arizona_dai_ops,
.symmetric_rates = 1,
.symmetric_samplebits = 1,
},
{
.name = "wm5102-aif3",
Expand All @@ -1695,6 +1697,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
},
.ops = &arizona_dai_ops,
.symmetric_rates = 1,
.symmetric_samplebits = 1,
},
{
.name = "wm5102-slim1",
Expand Down

0 comments on commit 11ecf2b

Please sign in to comment.