]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: tas2781: Add null check for calibration data
authorBaojun Xu <baojun.xu@ti.com>
Thu, 19 Mar 2026 09:07:47 +0000 (17:07 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 19 Mar 2026 12:52:55 +0000 (12:52 +0000)
commita437601a0a1383260222223440a95dd4322eb7fa
tree1e64089e98dc7243a694e5fe9a850304bc6cd808
parent5e4ed0320b964bb99c9e041d50544926dc09e203
ASoC: tas2781: Add null check for calibration data

For avoid null pointer problem if no calibration data exist.

Fixes: 55137f5a68b5e ("ASoC: tas2781: Put three different calibrated data solution into the same data structure")
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
Link: https://patch.msgid.link/20260319090747.2090-1-baojun.xu@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2781-fmwlib.c