]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: sunxi: sun4i-codec: drop SNDRV_PCM_RATE_KNOT
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 5 Sep 2024 14:13:02 +0000 (16:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Sep 2024 07:23:55 +0000 (09:23 +0200)
commit9dc03a1250d4d645badc5cdd5a3bc47237ffcab9
treeb64f71c6f26336219418d8b6e1bbe8133a3bfffa
parentc061d1e4b2af8c8c76754ac9fd2cbde6db472e1d
ASoC: sunxi: sun4i-codec: drop SNDRV_PCM_RATE_KNOT

The custom rate constraint lists was necessary to support 12kHz and 24kHz.
These rates are now available through SNDRV_PCM_RATE_12000 and
SNDRV_PCM_RATE_24000.

Use them and drop the custom rate constraint rule.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: David Rhodes <drhodes@opensource.cirrus.com>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240905-alsa-12-24-128-v1-11-8371948d3921@baylibre.com
sound/soc/sunxi/sun4i-codec.c