]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: cs35l34: drop useless rate contraint
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 5 Sep 2024 14:13:03 +0000 (16:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Sep 2024 07:23:55 +0000 (09:23 +0200)
commit7bc09f7eb5e1f09b91b8edcf492e50bfda54080e
tree8cfc97e58451d3ed8c30a6533f74a2c7edcdfc17
parent9dc03a1250d4d645badc5cdd5a3bc47237ffcab9
ASoC: cs35l34: drop useless rate contraint

The cs35l34 adds a useless rate constraint on startup.
It does not set SNDRV_PCM_RATE_KNOT and the rates set are already a subset
of the ones provided in the constraint list, so it is a no-op.

>From the rest of the code, it is likely HW supports more than the 32, 44.1
and 48kHz listed in CS35L34_RATES but there is no way to know for sure
without proper documentation.

Keep the driver as it is for now and just drop the useless constraint.

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-12-8371948d3921@baylibre.com
sound/soc/codecs/cs35l34.c