]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs530x: Check the DEVID matches the devtype
authorSimon Trimmer <simont@opensource.cirrus.com>
Thu, 23 Oct 2025 09:03:16 +0000 (10:03 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 11:10:29 +0000 (11:10 +0000)
commitc37c3e5e390dcd52cbe6178ac53f5a6131ef6f8c
treec5f8dc1f1b6f0f762155f57eb0204ae796d83015
parent3941abb26ff327e53e1e8b873cab3ed3d5103eab
ASoC: cs530x: Check the DEVID matches the devtype

If the read device ID is not the expected devtype derived from the
compatible device match then fail the probe as other configuration
details may be incorrect.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link: https://patch.msgid.link/20251023090327.58275-9-vitalyr@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs530x.c
sound/soc/codecs/cs530x.h