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: ef3bcde75d ("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>
This commit is contained in:
Shenghao Ding 2025-11-07 13:49:59 +08:00 • committed by Mark Brown
commit 29528c8e64
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0