Skip to content

Commit f47d074

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: codecs: wsa881x: add missing stream rates and format
Add missing supported rates and formats for the stream, without which attempt to do playback will fail to find any matching rates/format. Fixes: a0aab9e ("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>
1 parent eb5a558 commit f47d074

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/soc/codecs/wsa881x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,8 @@ static struct snd_soc_dai_driver wsa881x_dais[] = {
10261026
.id = 0,
10271027
.playback = {
10281028
.stream_name = "SPKR Playback",
1029+
.rates = SNDRV_PCM_RATE_48000,
1030+
.formats = SNDRV_PCM_FMTBIT_S16_LE,
10291031
.rate_max = 48000,
10301032
.rate_min = 48000,
10311033
.channels_min = 1,

0 commit comments

Comments
 (0)