diff options
| author | Bard Liao <bardliao@realtek.com> | 2015-04-24 03:19:29 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2015-04-24 06:06:54 -0400 |
| commit | 74d6ea52aeef0236242221c6eff6d892565c5a92 (patch) | |
| tree | acb12a31d75f3324e4c1eb4f870f8eb6a8365093 | |
| parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
ASoC: rt5677: add register patch for PLL
The PLL output will be unstable in some cases. We can fix it by
setting some registers.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
| -rw-r--r-- | sound/soc/codecs/rt5677.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c index 5d0bb8748dd1..c6d4e8fa8bd3 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c | |||
| @@ -62,6 +62,9 @@ static const struct reg_default init_list[] = { | |||
| 62 | {RT5677_PR_BASE + 0x1e, 0x0000}, | 62 | {RT5677_PR_BASE + 0x1e, 0x0000}, |
| 63 | {RT5677_PR_BASE + 0x12, 0x0eaa}, | 63 | {RT5677_PR_BASE + 0x12, 0x0eaa}, |
| 64 | {RT5677_PR_BASE + 0x14, 0x018a}, | 64 | {RT5677_PR_BASE + 0x14, 0x018a}, |
| 65 | {RT5677_PR_BASE + 0x15, 0x0490}, | ||
| 66 | {RT5677_PR_BASE + 0x38, 0x0f71}, | ||
| 67 | {RT5677_PR_BASE + 0x39, 0x0f71}, | ||
| 65 | }; | 68 | }; |
| 66 | #define RT5677_INIT_REG_LEN ARRAY_SIZE(init_list) | 69 | #define RT5677_INIT_REG_LEN ARRAY_SIZE(init_list) |
| 67 | 70 | ||
