public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Maciej Purski <m.purski@samsung.com>, linux-kernel@vger.kernel.org
Cc: myungjoo.ham@samsung.com, b.zolnierkie@samsung.com, krzk@kernel.org
Subject: Re: [PATCH] extcon: max77693: Allow MHL attach notifier
Date: Fri, 25 Aug 2017 09:30:40 +0900	[thread overview]
Message-ID: <599F6FB0.90508@samsung.com> (raw)
In-Reply-To: <1503313659-28869-1-git-send-email-m.purski@samsung.com>

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

      reply	other threads:[~2017-08-25  0:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=599F6FB0.90508@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.purski@samsung.com \
    --cc=myungjoo.ham@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox