]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: tas2783A: fix error log for calibration data
authorNiranjan H Y <niranjan.hy@ti.com>
Mon, 15 Dec 2025 15:32:15 +0000 (21:02 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Dec 2025 08:21:47 +0000 (08:21 +0000)
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>
sound/soc/codecs/tas2783-sdw.c

index bfa925dd601ea4777c2146d9cb3fada805ba0498..397442cd67ffa72b7e8ab45ba2952e5795ee0ef3 100644 (file)
@@ -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");
 }