mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 23:24:11 +08:00
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 <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d0f8b9c5a3
commit
5ef5ac8de1
@ -89,6 +89,7 @@ static const struct reg_default rt5514_reg[] = {
|
||||
{RT5514_PLL3_CALIB_CTRL5, 0x40220012},
|
||||
{RT5514_DELAY_BUF_CTRL1, 0x7fff006a},
|
||||
{RT5514_DELAY_BUF_CTRL3, 0x00000000},
|
||||
{RT5514_ASRC_IN_CTRL1, 0x00000003},
|
||||
{RT5514_DOWNFILTER0_CTRL1, 0x00020c2f},
|
||||
{RT5514_DOWNFILTER0_CTRL2, 0x00020c2f},
|
||||
{RT5514_DOWNFILTER0_CTRL3, 0x10000362},
|
||||
@ -181,6 +182,7 @@ static bool rt5514_readable_register(struct device *dev, unsigned int reg)
|
||||
case RT5514_PLL3_CALIB_CTRL5:
|
||||
case RT5514_DELAY_BUF_CTRL1:
|
||||
case RT5514_DELAY_BUF_CTRL3:
|
||||
case RT5514_ASRC_IN_CTRL1:
|
||||
case RT5514_DOWNFILTER0_CTRL1:
|
||||
case RT5514_DOWNFILTER0_CTRL2:
|
||||
case RT5514_DOWNFILTER0_CTRL3:
|
||||
@ -238,6 +240,7 @@ static bool rt5514_i2c_readable_register(struct device *dev,
|
||||
case RT5514_DSP_MAPPING | RT5514_PLL3_CALIB_CTRL5:
|
||||
case RT5514_DSP_MAPPING | RT5514_DELAY_BUF_CTRL1:
|
||||
case RT5514_DSP_MAPPING | RT5514_DELAY_BUF_CTRL3:
|
||||
case RT5514_DSP_MAPPING | RT5514_ASRC_IN_CTRL1:
|
||||
case RT5514_DSP_MAPPING | RT5514_DOWNFILTER0_CTRL1:
|
||||
case RT5514_DSP_MAPPING | RT5514_DOWNFILTER0_CTRL2:
|
||||
case RT5514_DSP_MAPPING | RT5514_DOWNFILTER0_CTRL3:
|
||||
|
Loading…
Reference in New Issue
Block a user