diff options
author | John Watts <contact@jookia.org> | 2023-09-18 23:15:30 +1000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-18 14:32:10 +0100 |
commit | 00524a8415aa400567538c0e75a463d517cded7f (patch) | |
tree | 38465d10845b784e5cefc42ed2316f2607f673df /lib/bug.c | |
parent | 9dc098e3d7297ec895436a799f5faf27d430674c (diff) |
ASoC: wm8782: Constrain maximum audio rate at runtime
The wm8782 supports up to 192kHz audio when pins are set correctly.
Instead of hardcoding which rates are supported constrain them at
runtime based on a max_rate variable.
Signed-off-by: John Watts <contact@jookia.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230918131532.2257615-2-contact@jookia.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions