projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab8a8fb
)
extcon: max77693: Allow MHL attach notifier
author
Maciej Purski
<m.purski@samsung.com>
Mon, 21 Aug 2017 11:07:39 +0000
(13:07 +0200)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Fri, 25 Aug 2017 00:32:27 +0000
(09:32 +0900)
Without this patch extcon couldn't notify attaching MHL cable.
Signed-off-by: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-max77693.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/extcon/extcon-max77693.c
b/drivers/extcon/extcon-max77693.c
index 62163468f205bd557478247a30130cfd23def9a3..7a58568090474e97a59b77a9e0d6961314806ea1 100644
(file)
--- a/
drivers/extcon/extcon-max77693.c
+++ b/
drivers/extcon/extcon-max77693.c
@@
-811,9
+811,8
@@
static int max77693_muic_chg_handler(struct max77693_muic_info *info)
*/
extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP,
attached);
- if (!cable_attached)
- extcon_set_state_sync(info->edev,
- EXTCON_DISP_MHL, cable_attached);
+ extcon_set_state_sync(info->edev, EXTCON_DISP_MHL,
+ cable_attached);
break;
}