Skip to content

Commit 100c94f

Browse files
krzkbroonie
authored andcommitted
ASoC: codecs: wsa883x: correct playback min/max rates
Correct reversed values used in min/max rates, leading to incorrect playback constraints. Cc: <[email protected]> Fixes: 43b8c7d ("ASoC: codecs: add wsa883x amplifier support") Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent dcff8b7 commit 100c94f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/wsa883x.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1359,8 +1359,8 @@ static struct snd_soc_dai_driver wsa883x_dais[] = {
13591359
.stream_name = "SPKR Playback",
13601360
.rates = WSA883X_RATES | WSA883X_FRAC_RATES,
13611361
.formats = WSA883X_FORMATS,
1362-
.rate_max = 8000,
1363-
.rate_min = 352800,
1362+
.rate_min = 8000,
1363+
.rate_max = 352800,
13641364
.channels_min = 1,
13651365
.channels_max = 1,
13661366
},

0 commit comments

Comments
 (0)