[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150612004142.GD20581@dtor-pixel>
Date: Thu, 11 Jun 2015 17:41:42 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Hn Chen <hn.chen@...dahitech.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5] Fix the resolution issue in ChromeOS
Hi Hn,
On Wed, Jun 10, 2015 at 10:41:26PM +0800, Hn Chen wrote:
> Hi, Dmitry,
>
> Thanks for your suggestion !
>
> > Thank you for making changes, I have some more comments. By the way, have you tried running scripts/checkpatch.pl over your patch?
> > It often picks up some common issues.
> I did the check before I submit the patch every time. Below is the way what I did, is it lack of some parameters ?
> ./scripts/checkpatch.pl -f driver/input/touchscreen/wdt87xx_i2c.c
> Or do I check the wrong file ?
I believe --strict option does a few more checks, like having spaces
around operations, argument alignment and so forth.
>
> > Why do you need to disable IRQ here just ti enable it again in probe()?
> Just in case to prevent the IRQ triggered and the input device is not ready.
> After you remind me to create the input device first and then request irq,
> I think they (disable IRQ in request & enable IRQ in probe) can be just removed from codes.
OK good.
Thanks.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists