mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 08:04:24 -04:00
ASoC: tas2781: Fix occasional calibration failture
The root cause is that TAS2781 internal register is not unlocked
before writing data into TAS2781_PRM_TEST_57_REG.
Fixes: 49e2e353fb ("ASoC: tas2781: Add Calibration Kcontrols for Chromebook")
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20241227074909.1974-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
b1d4ac91a9
commit
cf86e0ae60
@@ -78,7 +78,7 @@ static const struct bulk_reg_val tas2781_cali_start_reg[] = {
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_INT_MASK_REG, 0xfe, false),
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_CLK_CFG_REG, 0xdd, false),
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_RSVD_REG, 0x20, false),
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_TEST_57_REG, 0x14, false),
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_TEST_57_REG, 0x14, true),
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_TEST_62_REG, 0x45, true),
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_PVDD_UVLO_REG, 0x03, false),
|
||||
X2781_CL_STT_VAL(TAS2781_PRM_CHNL_0_REG, 0xa8, false),
|
||||
|
||||
Reference in New Issue
Block a user