Skip to content

Commit 32531ea

Browse files
shumingfanplbossart
authored andcommitted
ASoC: rt1308-sdw: add the default value of register 0xc320
The driver missed the default value of register 0xc320. This patch adds that default value to avoid the error messages when the driver went to suspend mode already. BugLink: #3651 Signed-off-by: Shuming Fan <shumingf@realtek.com>
1 parent a6a0fe1 commit 32531ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/codecs/rt1308-sdw.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ static const struct reg_default rt1308_reg_defaults[] = {
140140
{ 0x3008, 0x02 },
141141
{ 0x300a, 0x00 },
142142
{ 0xc003 | (RT1308_DAC_SET << 4), 0x00 },
143+
{ 0xc000 | (RT1308_POWER << 4), 0x00 },
143144
{ 0xc001 | (RT1308_POWER << 4), 0x00 },
144145
{ 0xc002 | (RT1308_POWER << 4), 0x00 },
145146
};

0 commit comments

Comments
 (0)