From: Chanwoo Choi <cw00.choi@samsung.com>
To: Jaewon Kim <jaewon02.kim@samsung.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: misc: max77693-haptic - fix active state check in disable()
Date: Wed, 15 Oct 2014 13:17:47 +0900 [thread overview]
Message-ID: <543DF56B.2080009@samsung.com> (raw)
In-Reply-To: <1413342978-30349-1-git-send-email-jaewon02.kim@samsung.com>
Hi Jaewon,
I think you better to use ':' instead of '-'.
- before: Input: misc: max77693-haptic -
- after : Input: misc: max77693-haptic:
On 10/15/2014 12:16 PM, Jaewon Kim wrote:
> In order to avoid duplicated execution, max77693_haptic_disable()
> check disable state. But it was reversed. this patch fix it.
>
> Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
> ---
> drivers/input/misc/max77693-haptic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/misc/max77693-haptic.c b/drivers/input/misc/max77693-haptic.c
> index d605db4..7b1fde9 100644
> --- a/drivers/input/misc/max77693-haptic.c
> +++ b/drivers/input/misc/max77693-haptic.c
> @@ -152,7 +152,7 @@ static void max77693_haptic_disable(struct max77693_haptic *haptic)
> {
> int error;
>
> - if (haptic->enabled)
> + if (!haptic->enabled)
> return;
>
> error = max77693_haptic_configure(haptic, false);
>
If you modify patch name, Looks good to me.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Thanks,
Chanwoo Choi
next prev parent reply other threads:[~2014-10-15 4:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 3:16 [PATCH] Input: misc: max77693-haptic - fix active state check in disable() Jaewon Kim
2014-10-15 4:17 ` Chanwoo Choi [this message]
2014-10-15 4:34 ` Jaewon Kim
2014-10-16 21:00 ` Dmitry Torokhov
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=543DF56B.2080009@samsung.com \
--to=cw00.choi@samsung.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jaewon02.kim@samsung.com \
--cc=linux-input@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.