ASoC: tas2781: Add null check for calibration data

For avoid null pointer problem if no calibration data exist.

Fixes: 55137f5a68 ("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>
This commit is contained in:
Baojun Xu 2026-03-19 17:07:47 +08:00 • committed by Mark Brown
commit a437601a0a
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0