diff options
author | Maciej Purski <m.purski@samsung.com> | 2017-08-21 13:07:39 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2017-08-25 09:32:27 +0900 |
commit | 4243c408f7402e254454d4770dfc1437545eba1b (patch) | |
tree | 8e7ac5db234a07b57cb77a192636c2ba6acbf86b | |
parent | ab8a8fbe939de5e2651da6761f83a2b9641b2daa (diff) |
extcon: max77693: Allow MHL attach notifier
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>
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 62163468f205..7a5856809047 100644 --- 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; } |