Skip to content

Commit 5ef5ac8

Browse files
oder-chioubroonie
authored andcommitted
ASoC: rt5514: Add the missing register in the readable table
The patch adds the missing register in the readable table. Signed-off-by: Oder Chiou <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent d0f8b9c commit 5ef5ac8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/codecs/rt5514.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ static const struct reg_default rt5514_reg[] = {
8989
{RT5514_PLL3_CALIB_CTRL5, 0x40220012},
9090
{RT5514_DELAY_BUF_CTRL1, 0x7fff006a},
9191
{RT5514_DELAY_BUF_CTRL3, 0x00000000},
92+
{RT5514_ASRC_IN_CTRL1, 0x00000003},
9293
{RT5514_DOWNFILTER0_CTRL1, 0x00020c2f},
9394
{RT5514_DOWNFILTER0_CTRL2, 0x00020c2f},
9495
{RT5514_DOWNFILTER0_CTRL3, 0x10000362},
@@ -181,6 +182,7 @@ static bool rt5514_readable_register(struct device *dev, unsigned int reg)
181182
case RT5514_PLL3_CALIB_CTRL5:
182183
case RT5514_DELAY_BUF_CTRL1:
183184
case RT5514_DELAY_BUF_CTRL3:
185+
case RT5514_ASRC_IN_CTRL1:
184186
case RT5514_DOWNFILTER0_CTRL1:
185187
case RT5514_DOWNFILTER0_CTRL2:
186188
case RT5514_DOWNFILTER0_CTRL3:
@@ -238,6 +240,7 @@ static bool rt5514_i2c_readable_register(struct device *dev,
238240
case RT5514_DSP_MAPPING | RT5514_PLL3_CALIB_CTRL5:
239241
case RT5514_DSP_MAPPING | RT5514_DELAY_BUF_CTRL1:
240242
case RT5514_DSP_MAPPING | RT5514_DELAY_BUF_CTRL3:
243+
case RT5514_DSP_MAPPING | RT5514_ASRC_IN_CTRL1:
241244
case RT5514_DSP_MAPPING | RT5514_DOWNFILTER0_CTRL1:
242245
case RT5514_DSP_MAPPING | RT5514_DOWNFILTER0_CTRL2:
243246
case RT5514_DSP_MAPPING | RT5514_DOWNFILTER0_CTRL3:

0 commit comments

Comments
 (0)