Skip to content

Commit 90f5dd4

Browse files
tq-steinagregkh
authored andcommitted
ASoC: fsl_sai: Add missing registers to cache default
[ Upstream commit 90ed688 ] Drivers does cache sync during runtime resume, setting all writable registers. Not all writable registers are set in cache default, resulting in the erorr message: fsl-sai 30c30000.sai: using zero-initialized flat cache, this may cause unexpected behavior Fix this by adding missing writable register defaults. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Link: https://patch.msgid.link/20251216102246.676181-1-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b3f89f6 commit 90f5dd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/fsl/fsl_sai.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,7 @@ static const struct reg_default fsl_sai_reg_defaults_ofs0[] = {
10811081
{FSL_SAI_TDR6, 0},
10821082
{FSL_SAI_TDR7, 0},
10831083
{FSL_SAI_TMR, 0},
1084+
{FSL_SAI_TTCTL, 0},
10841085
{FSL_SAI_RCR1(0), 0},
10851086
{FSL_SAI_RCR2(0), 0},
10861087
{FSL_SAI_RCR3(0), 0},
@@ -1104,12 +1105,14 @@ static const struct reg_default fsl_sai_reg_defaults_ofs8[] = {
11041105
{FSL_SAI_TDR6, 0},
11051106
{FSL_SAI_TDR7, 0},
11061107
{FSL_SAI_TMR, 0},
1108+
{FSL_SAI_TTCTL, 0},
11071109
{FSL_SAI_RCR1(8), 0},
11081110
{FSL_SAI_RCR2(8), 0},
11091111
{FSL_SAI_RCR3(8), 0},
11101112
{FSL_SAI_RCR4(8), 0},
11111113
{FSL_SAI_RCR5(8), 0},
11121114
{FSL_SAI_RMR, 0},
1115+
{FSL_SAI_RTCTL, 0},
11131116
{FSL_SAI_MCTL, 0},
11141117
{FSL_SAI_MDIV, 0},
11151118
};

0 commit comments

Comments
 (0)