From: Maciej Purski Date: Mon, 21 Aug 2017 11:07:39 +0000 (+0200) Subject: extcon: max77693: Allow MHL attach notifier X-Git-Tag: rel_imx_4.19.35_1.1.0~11810^2~46^2 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=4243c408f7402e254454d4770dfc1437545eba1b;p=linux.git extcon: max77693: Allow MHL attach notifier Without this patch extcon couldn't notify attaching MHL cable. Signed-off-by: Maciej Purski Signed-off-by: Chanwoo Choi --- 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; }