ASoC: tas2781: Fix wrong loading calibrated data sequence
authorShenghao Ding <shenghao-ding@ti.com>
Sat, 18 May 2024 14:15:46 +0000 (22:15 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 May 2024 15:01:24 +0000 (16:01 +0100)
commitb195acf5266d2dee4067f89345c3e6b88d925311
tree971f0c81ebf78a30321cb26498445d329d4e2833
parent7078ac4fd179a68d0bab448004fcd357e7a45f8d
ASoC: tas2781: Fix wrong loading calibrated data sequence

Calibrated data will be set to default after loading DSP config params,
which will cause speaker protection work abnormally. Reload calibrated
data after loading DSP config params. Remove declaration of unused API
which load calibrated data in wrong sequence, changed the copyright year
and correct file name in license
header.

Fixes: ef3bcde75d06 ("ASoC: tas2781: Add tas2781 driver")
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://msgid.link/r/20240518141546.1742-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/tas2781-dsp.h
sound/soc/codecs/tas2781-fmwlib.c
sound/soc/codecs/tas2781-i2c.c