lkml.org 
[lkml]   [2017]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] extcon: max77693: Allow MHL attach notifier
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

\
 
 \ /
  Last update: 2017-08-25 02:31    [W:0.046 / U:14.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site