projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcff8b7
)
ASoC: codecs: wsa883x: correct playback min/max rates
author
Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org>
Tue, 24 Jan 2023 12:30:49 +0000
(13:30 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 25 Jan 2023 12:37:35 +0000
(12:37 +0000)
Correct reversed values used in min/max rates, leading to incorrect
playback constraints.
Cc: <stable@vger.kernel.org>
Fixes:
43b8c7dc85a1
("ASoC: codecs: add wsa883x amplifier support")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link:
https://lore.kernel.org/r/20230124123049.285395-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wsa883x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wsa883x.c
b/sound/soc/codecs/wsa883x.c
index
966ba49
..
58fdb4e
100644
(file)
--- a/
sound/soc/codecs/wsa883x.c
+++ b/
sound/soc/codecs/wsa883x.c
@@
-1359,8
+1359,8
@@
static struct snd_soc_dai_driver wsa883x_dais[] = {
.stream_name = "SPKR Playback",
.rates = WSA883X_RATES | WSA883X_FRAC_RATES,
.formats = WSA883X_FORMATS,
- .rate_m
ax
= 8000,
- .rate_m
in
= 352800,
+ .rate_m
in
= 8000,
+ .rate_m
ax
= 352800,
.channels_min = 1,
.channels_max = 1,
},