]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: rt5659: Fix incorrect register addresses
authorNicolin Chen <nicoleotsuka@gmail.com>
Wed, 24 Aug 2016 18:00:27 +0000 (11:00 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 14 Sep 2016 16:54:29 +0000 (17:54 +0100)
According to the datasheets of Realtek ALC5658 (Rev. 0.9)
and ALC5659 (Rev. 0.13), the "IRQ Control 4" register is
located at MX-00BAh while the "IRQ control 5" register is
at MX-00BBh.

There is no "IRQ Control 6" register in the datasheets but
it is supposed to be behind the "IRQ Control 5" register.

So this patch corrects these addresses.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5659.h

index d69b0eb5a334474575e2a1f62b02b20cebeecedb..8f1aeef084891eacb2c9aa85ef9040a9c714a06d 100644 (file)
 #define RT5659_IRQ_CTRL_1                      0x00b6
 #define RT5659_IRQ_CTRL_2                      0x00b7
 #define RT5659_IRQ_CTRL_3                      0x00b8
-#define RT5659_IRQ_CTRL_4                      0x00b9
-#define RT5659_IRQ_CTRL_5                      0x00ba
-#define RT5659_IRQ_CTRL_6                      0x00bb
+#define RT5659_IRQ_CTRL_4                      0x00ba
+#define RT5659_IRQ_CTRL_5                      0x00bb
+#define RT5659_IRQ_CTRL_6                      0x00bc
 #define RT5659_INT_ST_1                                0x00be
 #define RT5659_INT_ST_2                                0x00bf
 #define RT5659_GPIO_CTRL_1                     0x00c0