projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5771a8c
)
ASoC: rt5665: fix GPIO6 pin function define
author
Bard Liao
<
[email protected]
>
Thu, 20 Jul 2017 05:07:49 +0000
(13:07 +0800)
committer
Mark Brown
<
[email protected]
>
Thu, 20 Jul 2017 12:09:42 +0000
(13:09 +0100)
The GPIO6 pin function select value was wrong.
Signed-off-by: Bard Liao <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/rt5665.h
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5665.h
b/sound/soc/codecs/rt5665.h
index 1db5c6a62a8e0c872e24fc6474031cbdfb72ab80..d95249c4c47bf04a0901ff3192ce84ebbf9f39d9 100644
(file)
--- a/
sound/soc/codecs/rt5665.h
+++ b/
sound/soc/codecs/rt5665.h
@@
-1692,8
+1692,8
@@
#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 (0x
0
<< 5)
-#define RT5665_GP6_PIN_PDM_SCL (0x
1
<< 5)
+#define RT5665_GP6_PIN_BCLK3 (0x
1
<< 5)
+#define RT5665_GP6_PIN_PDM_SCL (0x
2
<< 5)
#define RT5665_GP7_PIN_MASK (0x3 << 3)
#define RT5665_GP7_PIN_SFT 3
#define RT5665_GP7_PIN_GPIO7 (0x0 << 3)