Skip to content

Commit 0810c8e

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 1d2a109 commit 0810c8e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sound/soc/fsl/fsl_sai.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,7 @@ static struct reg_default fsl_sai_reg_defaults_ofs0[] = {
10411041
{FSL_SAI_TDR6, 0},
10421042
{FSL_SAI_TDR7, 0},
10431043
{FSL_SAI_TMR, 0},
1044+
{FSL_SAI_TTCTL, 0},
10441045
{FSL_SAI_RCR1(0), 0},
10451046
{FSL_SAI_RCR2(0), 0},
10461047
{FSL_SAI_RCR3(0), 0},
@@ -1064,12 +1065,14 @@ static struct reg_default fsl_sai_reg_defaults_ofs8[] = {
10641065
{FSL_SAI_TDR6, 0},
10651066
{FSL_SAI_TDR7, 0},
10661067
{FSL_SAI_TMR, 0},
1068+
{FSL_SAI_TTCTL, 0},
10671069
{FSL_SAI_RCR1(8), 0},
10681070
{FSL_SAI_RCR2(8), 0},
10691071
{FSL_SAI_RCR3(8), 0},
10701072
{FSL_SAI_RCR4(8), 0},
10711073
{FSL_SAI_RCR5(8), 0},
10721074
{FSL_SAI_RMR, 0},
1075+
{FSL_SAI_RTCTL, 0},
10731076
{FSL_SAI_MCTL, 0},
10741077
{FSL_SAI_MDIV, 0},
10751078
};

0 commit comments

Comments
 (0)