projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5a558
)
ASoC: codecs: wsa881x: add missing stream rates and format
author
Srinivas Kandagatla
<srinivas.kandagatla@linaro.org>
Thu, 22 Oct 2020 13:05:18 +0000
(14:05 +0100)
committer
Mark Brown
<broonie@kernel.org>
Fri, 23 Oct 2020 17:28:50 +0000
(18:28 +0100)
Add missing supported rates and formats for the stream, without
which attempt to do playback will fail to find any matching rates/format.
Fixes:
a0aab9e1404a
("ASoC: codecs: add wsa881x amplifier support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link:
https://lore.kernel.org/r/20201022130518.31723-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wsa881x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wsa881x.c
b/sound/soc/codecs/wsa881x.c
index
d39d479
..
5456124
100644
(file)
--- a/
sound/soc/codecs/wsa881x.c
+++ b/
sound/soc/codecs/wsa881x.c
@@
-1026,6
+1026,8
@@
static struct snd_soc_dai_driver wsa881x_dais[] = {
.id = 0,
.playback = {
.stream_name = "SPKR Playback",
+ .rates = SNDRV_PCM_RATE_48000,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
.rate_max = 48000,
.rate_min = 48000,
.channels_min = 1,