Re: [PATCH RESEND v8 3/4] input: elants: read touchscreen size for EKTF3624

2020-12-11 Thread Michał Mirosław
On Thu, Dec 10, 2020 at 11:22:09PM -0800, Dmitry Torokhov wrote: > Hi Michał, > > On Fri, Dec 11, 2020 at 07:53:56AM +0100, Michał Mirosław wrote: > > + > > + if (!phy_x || !phy_y) { > > + dev_warn(&client->dev, > > +"invalid size data: %d x %d mm\n", > > +

Re: [PATCH RESEND v8 3/4] input: elants: read touchscreen size for EKTF3624

2020-12-10 Thread Dmitry Torokhov
Hi Michał, On Fri, Dec 11, 2020 at 07:53:56AM +0100, Michał Mirosław wrote: > + > + if (!phy_x || !phy_y) { > + dev_warn(&client->dev, > + "invalid size data: %d x %d mm\n", > + phy_x, phy_y); > + return 0; Given we are not tre

[PATCH RESEND v8 3/4] input: elants: read touchscreen size for EKTF3624

2020-12-10 Thread Michał Mirosław
EKTF3624 as present in Asus TF300T tablet has touchscreen size encoded in different registers. Signed-off-by: Michał Mirosław Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko --- drivers/input/touchscreen/elants_i2c.c | 84 -- 1 file changed, 79 insertions(+), 5

[PATCH RESEND v8 3/4] input: elants: read touchscreen size for EKTF3624

2020-11-09 Thread Michał Mirosław
EKTF3624 as present in Asus TF300T tablet has touchscreen size encoded in different registers. Signed-off-by: Michał Mirosław Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko --- drivers/input/touchscreen/elants_i2c.c | 84 -- 1 file changed, 79 insertions(+), 5