]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: tlv320adcx140: fix word length
authorEmil Svendsen <emas@bang-olufsen.dk>
Tue, 13 Jan 2026 10:58:47 +0000 (11:58 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2026 13:35:32 +0000 (13:35 +0000)
commit46378ab9fcb796dca46b51e10646f636e2c661f9
tree2cf5fec9f0eef287bc6c862268e27a1ef0067ff8
parentd89aad92cfd15edbd704746f44c98fe687f9366f
ASoC: tlv320adcx140: fix word length

The word length is the physical width of the channel slots. So the
hw_params would misconfigure when format width and physical width
doesn't match. Like S24_LE which has data width of 24 bits but physical
width of 32 bits. So if using asymmetric formats you will get a lot of
noise.

Fixes: 689c7655b50c5 ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family")
Signed-off-by: Emil Svendsen <emas@bang-olufsen.dk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://patch.msgid.link/20260113-sound-soc-codecs-tvl320adcx140-v4-4-8f7ecec525c8@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320adcx140.c