projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f810cbb
)
(CR):[Kane][audio][factory]kernel:hp and ep switch make no sound
author
zhangjiaquan
<zhangjiaquan@huaqin.com>
Thu, 17 Jan 2019 07:55:03 +0000
(
02:55
-0500)
committer
xiest1
<xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:37 +0000
(17:30 +0800)
1,hp and ep switch make no sound
Change-Id: I52454c4488a0dc6e628ae633d9b026a28fde78f4
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
drivers/extcon/extcon-madera.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/extcon/extcon-madera.c
b/drivers/extcon/extcon-madera.c
index 863b031fc4655ff3a686f8c2f42c2d39703d6ed3..0d4420ac0f9aed60063a9783eb28c5d9fb9b1210 100755
(executable)
--- a/
drivers/extcon/extcon-madera.c
+++ b/
drivers/extcon/extcon-madera.c
@@
-769,7
+769,7
@@
static void madera_jds_timeout_work(struct work_struct *work)
static void madera_extcon_hp_clamp(struct madera_extcon *info, bool clamp)
{
struct madera *madera = info->madera;
- unsigned int mask, val = 0;
+ unsigned int mask
= 0
, val = 0;
unsigned int edre_reg = 0, edre_val = 0;
unsigned int ep_sel = 0;
int ret;