projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef9bec2
)
ASoC: wcd9335: Fix misuse of GENMASK macro
author
Joe Perches
<joe@perches.com>
Wed, 10 Jul 2019 05:04:25 +0000
(22:04 -0700)
committer
Mark Brown
<broonie@kernel.org>
Mon, 22 Jul 2019 12:09:45 +0000
(13:09 +0100)
Arguments are supposed to be ordered high then low.
Signed-off-by: Joe Perches <joe@perches.com>
Link:
https://lore.kernel.org/r/92e31a9f321fe731d428ec3ec9d4654ea8a16d1b.1562734889.git.joe@perches.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd-clsh-v2.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wcd-clsh-v2.c
b/sound/soc/codecs/wcd-clsh-v2.c
index c397d713f01aa065bc361cc5273f4e227e2fd9be..cc5a9c9b918bed21dedbdc614811ab2323eef049 100644
(file)
--- a/
sound/soc/codecs/wcd-clsh-v2.c
+++ b/
sound/soc/codecs/wcd-clsh-v2.c
@@
-65,7
+65,7
@@
struct wcd_clsh_ctrl {
#define WCD9XXX_FLYBACK_EN_PWDN_WITH_DELAY 0
#define WCD9XXX_RX_BIAS_FLYB_BUFF WCD9335_REG(0x6, 0xC7)
#define WCD9XXX_RX_BIAS_FLYB_VNEG_5_UA_MASK GENMASK(7, 4)
-#define WCD9XXX_RX_BIAS_FLYB_VPOS_5_UA_MASK GENMASK(
0, 3
)
+#define WCD9XXX_RX_BIAS_FLYB_VPOS_5_UA_MASK GENMASK(
3, 0
)
#define WCD9XXX_HPH_L_EN WCD9335_REG(0x6, 0xD3)
#define WCD9XXX_HPH_CONST_SEL_L_MASK GENMASK(7, 3)
#define WCD9XXX_HPH_CONST_SEL_BYPASS 0