| From ac87f22147098da9cf83a0b413ef7dda42277d85 Mon Sep 17 00:00:00 2001 |
| From: Bard Liao <bardliao@realtek.com> |
| Date: Thu, 6 Nov 2014 12:23:52 +0800 |
| Subject: ASoC: rt5670: correct the incorrect default values |
| |
| From: Bard Liao <bardliao@realtek.com> |
| |
| commit ac87f22147098da9cf83a0b413ef7dda42277d85 upstream. |
| |
| The patch corrects the incorrect default register values. |
| |
| Signed-off-by: Bard Liao <bardliao@realtek.com> |
| Signed-off-by: Mark Brown <broonie@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| sound/soc/codecs/rt5670.c | 28 ++++++++++++++-------------- |
| 1 file changed, 14 insertions(+), 14 deletions(-) |
| |
| --- a/sound/soc/codecs/rt5670.c |
| +++ b/sound/soc/codecs/rt5670.c |
| @@ -100,18 +100,18 @@ static const struct reg_default rt5670_r |
| { 0x4c, 0x5380 }, |
| { 0x4f, 0x0073 }, |
| { 0x52, 0x00d3 }, |
| - { 0x53, 0xf0f0 }, |
| + { 0x53, 0xf000 }, |
| { 0x61, 0x0000 }, |
| { 0x62, 0x0001 }, |
| { 0x63, 0x00c3 }, |
| { 0x64, 0x0000 }, |
| - { 0x65, 0x0000 }, |
| + { 0x65, 0x0001 }, |
| { 0x66, 0x0000 }, |
| { 0x6f, 0x8000 }, |
| { 0x70, 0x8000 }, |
| { 0x71, 0x8000 }, |
| { 0x72, 0x8000 }, |
| - { 0x73, 0x1110 }, |
| + { 0x73, 0x7770 }, |
| { 0x74, 0x0e00 }, |
| { 0x75, 0x1505 }, |
| { 0x76, 0x0015 }, |
| @@ -125,21 +125,21 @@ static const struct reg_default rt5670_r |
| { 0x83, 0x0000 }, |
| { 0x84, 0x0000 }, |
| { 0x85, 0x0000 }, |
| - { 0x86, 0x0008 }, |
| + { 0x86, 0x0004 }, |
| { 0x87, 0x0000 }, |
| { 0x88, 0x0000 }, |
| { 0x89, 0x0000 }, |
| { 0x8a, 0x0000 }, |
| { 0x8b, 0x0000 }, |
| - { 0x8c, 0x0007 }, |
| + { 0x8c, 0x0003 }, |
| { 0x8d, 0x0000 }, |
| { 0x8e, 0x0004 }, |
| { 0x8f, 0x1100 }, |
| { 0x90, 0x0646 }, |
| { 0x91, 0x0c06 }, |
| { 0x93, 0x0000 }, |
| - { 0x94, 0x0000 }, |
| - { 0x95, 0x0000 }, |
| + { 0x94, 0x1270 }, |
| + { 0x95, 0x1000 }, |
| { 0x97, 0x0000 }, |
| { 0x98, 0x0000 }, |
| { 0x99, 0x0000 }, |
| @@ -150,11 +150,11 @@ static const struct reg_default rt5670_r |
| { 0x9e, 0x0400 }, |
| { 0xae, 0x7000 }, |
| { 0xaf, 0x0000 }, |
| - { 0xb0, 0x6000 }, |
| + { 0xb0, 0x7000 }, |
| { 0xb1, 0x0000 }, |
| { 0xb2, 0x0000 }, |
| { 0xb3, 0x001f }, |
| - { 0xb4, 0x2206 }, |
| + { 0xb4, 0x220c }, |
| { 0xb5, 0x1f00 }, |
| { 0xb6, 0x0000 }, |
| { 0xb7, 0x0000 }, |
| @@ -171,25 +171,25 @@ static const struct reg_default rt5670_r |
| { 0xcf, 0x1813 }, |
| { 0xd0, 0x0690 }, |
| { 0xd1, 0x1c17 }, |
| - { 0xd3, 0xb320 }, |
| + { 0xd3, 0xa220 }, |
| { 0xd4, 0x0000 }, |
| { 0xd6, 0x0400 }, |
| { 0xd9, 0x0809 }, |
| { 0xda, 0x0000 }, |
| { 0xdb, 0x0001 }, |
| { 0xdc, 0x0049 }, |
| - { 0xdd, 0x0009 }, |
| + { 0xdd, 0x0024 }, |
| { 0xe6, 0x8000 }, |
| { 0xe7, 0x0000 }, |
| - { 0xec, 0xb300 }, |
| + { 0xec, 0xa200 }, |
| { 0xed, 0x0000 }, |
| - { 0xee, 0xb300 }, |
| + { 0xee, 0xa200 }, |
| { 0xef, 0x0000 }, |
| { 0xf8, 0x0000 }, |
| { 0xf9, 0x0000 }, |
| { 0xfa, 0x8010 }, |
| { 0xfb, 0x0033 }, |
| - { 0xfc, 0x0080 }, |
| + { 0xfc, 0x0100 }, |
| }; |
| |
| static bool rt5670_volatile_register(struct device *dev, unsigned int reg) |