ASoC: rt5665: fix GPIO6 pin function define
authorBard Liao <bardliao@realtek.com>
Thu, 20 Jul 2017 05:07:49 +0000 (13:07 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 20 Jul 2017 12:09:42 +0000 (13:09 +0100)
The GPIO6 pin function select value was wrong.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5665.h

index 1db5c6a..d95249c 100644 (file)
 #define RT5665_GP6_PIN_MASK                    (0x3 << 5)
 #define RT5665_GP6_PIN_SFT                     5
 #define RT5665_GP6_PIN_GPIO6                   (0x0 << 5)
-#define RT5665_GP6_PIN_BCLK3                   (0x0 << 5)
-#define RT5665_GP6_PIN_PDM_SCL                 (0x1 << 5)
+#define RT5665_GP6_PIN_BCLK3                   (0x1 << 5)
+#define RT5665_GP6_PIN_PDM_SCL                 (0x2 << 5)
 #define RT5665_GP7_PIN_MASK                    (0x3 << 3)
 #define RT5665_GP7_PIN_SFT                     3
 #define RT5665_GP7_PIN_GPIO7                   (0x0 << 3)