summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiranjan H Y <niranjan.hy@ti.com>2025-12-15 18:32:15 +0300
committerMark Brown <broonie@kernel.org>2025-12-18 11:21:47 +0300
commitce65a90222e94eec1e5b7d0224b4d647af644cdc (patch)
treeb16f4ac2f635aac43bbe8394c73e3e9325ce825d
parentf8f1f0d8f0255d1e7c758dba9e3deb5a58a51aa1 (diff)
downloadlinux-ce65a90222e94eec1e5b7d0224b4d647af644cdc.tar.xz
ASoC: tas2783A: fix error log for calibration data
Currently when the calibration is not found, it is wrongly logged as device is not found. Fix this error message to indicate that calibration data is not valid instead. Signed-off-by: Niranjan H Y <niranjan.hy@ti.com> Link: https://patch.msgid.link/20251215153219.810-4-niranjan.hy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/tas2783-sdw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
index bfa925dd601e..397442cd67ff 100644
--- a/sound/soc/codecs/tas2783-sdw.c
+++ b/sound/soc/codecs/tas2783-sdw.c
@@ -635,7 +635,8 @@ static void tas2783_set_calib_params_to_device(struct tas2783_prv *tas_dev, u32
}
if (device_num == dev_count)
- dev_err(tas_dev->dev, "device not found\n");
+ dev_err(tas_dev->dev,
+ "unique id not found in the calib data\n");
else
dev_dbg(tas_dev->dev, "calib data update done\n");
}