* [PATCH] extcon: max77693: Allow MHL attach notifier [not found] <CGME20170821110759eucas1p197380273bb1048dbd9fa3ec4bfc86cf4@eucas1p1.samsung.com> @ 2017-08-21 11:07 ` Maciej Purski 2017-08-25 0:30 ` Chanwoo Choi 0 siblings, 1 reply; 2+ messages in thread From: Maciej Purski @ 2017-08-21 11:07 UTC (permalink / raw) To: linux-kernel; +Cc: myungjoo.ham, b.zolnierkie, krzk, cw00.choi, Maciej Purski Without this patch extcon couldn't notify attaching MHL cable. Signed-off-by: Maciej Purski <m.purski@samsung.com> --- drivers/extcon/extcon-max77693.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 6216346..b325be8 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c @@ -811,8 +811,7 @@ 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_set_state_sync(info->edev, EXTCON_DISP_MHL, cable_attached); break; } -- 2.7.4 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] extcon: max77693: Allow MHL attach notifier 2017-08-21 11:07 ` [PATCH] extcon: max77693: Allow MHL attach notifier Maciej Purski @ 2017-08-25 0:30 ` Chanwoo Choi 0 siblings, 0 replies; 2+ messages in thread From: Chanwoo Choi @ 2017-08-25 0:30 UTC (permalink / raw) To: Maciej Purski, linux-kernel; +Cc: myungjoo.ham, b.zolnierkie, krzk On 2017년 08월 21일 20:07, Maciej Purski wrote: > Without this patch extcon couldn't notify attaching MHL cable. > > Signed-off-by: Maciej Purski <m.purski@samsung.com> > --- > drivers/extcon/extcon-max77693.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c > index 6216346..b325be8 100644 > --- a/drivers/extcon/extcon-max77693.c > +++ b/drivers/extcon/extcon-max77693.c > @@ -811,8 +811,7 @@ 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_set_state_sync(info->edev, > EXTCON_DISP_MHL, cable_attached); > break; > } > Applied it. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-25 0:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20170821110759eucas1p197380273bb1048dbd9fa3ec4bfc86cf4@eucas1p1.samsung.com>
2017-08-21 11:07 ` [PATCH] extcon: max77693: Allow MHL attach notifier Maciej Purski
2017-08-25 0:30 ` Chanwoo Choi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox