]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: Allow sample width wild cards in set_usage()
authorSimon Trimmer <simont@opensource.cirrus.com>
Tue, 16 Dec 2025 14:22:04 +0000 (14:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Dec 2025 12:04:35 +0000 (12:04 +0000)
commit87783532d34050e2bff6749a4fe9860e624a0540
tree538acdf975937ba5acf5520aafe691caadcbd2c8
parentda1682d5e8b53a51072552844c551b1b784e52c2
ASoC: SDCA: Allow sample width wild cards in set_usage()

The SDCA spec allows the sample rate and width to be wild cards, but the
current implementation of set_usage() only checked for a wild card of
the sample rate.

Fixes: 4ed357f72a0e ("ASoC: SDCA: Add hw_params() helper function")
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20251216142204.183958-1-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_asoc.c