Commit 44ac5963 authored by Bard Liao's avatar Bard Liao Committed by Luis Henriques

ASoC: rt5677: add register patch for PLL

commit 74d6ea52 upstream.

The PLL output will be unstable in some cases. We can fix it by
setting some registers.
Signed-off-by: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 21f91efb
...@@ -56,6 +56,9 @@ static const struct reg_default init_list[] = { ...@@ -56,6 +56,9 @@ static const struct reg_default init_list[] = {
{RT5677_PR_BASE + 0x1e, 0x0000}, {RT5677_PR_BASE + 0x1e, 0x0000},
{RT5677_PR_BASE + 0x12, 0x0eaa}, {RT5677_PR_BASE + 0x12, 0x0eaa},
{RT5677_PR_BASE + 0x14, 0x018a}, {RT5677_PR_BASE + 0x14, 0x018a},
{RT5677_PR_BASE + 0x15, 0x0490},
{RT5677_PR_BASE + 0x38, 0x0f71},
{RT5677_PR_BASE + 0x39, 0x0f71},
}; };
#define RT5677_INIT_REG_LEN ARRAY_SIZE(init_list) #define RT5677_INIT_REG_LEN ARRAY_SIZE(init_list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment