]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: tas2781: fix getting the wrong device number
authorShenghao Ding <shenghao-ding@ti.com>
Fri, 7 Nov 2025 05:49:59 +0000 (13:49 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 7 Nov 2025 09:37:36 +0000 (09:37 +0000)
commit29528c8e643bb0c54da01237a35010c6438423d2
tree7fd1099687c6faa510ce9aa22a83217e79feeae5
parent3dc8c73365d3ca25c99e7e1a0f493039d7291df5
ASoC: tas2781: fix getting the wrong device number

The return value of device_property_read_u32_array used for getting the
property is the status instead of the number of the property.

Fixes: ef3bcde75d06 ("ASoC: tas2781: Add tas2781 driver")
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20251107054959.950-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2781-i2c.c