Hi Dmitry, On 20-05-09 12:05, Dmitry Torokhov wrote: > Hi Macro, > > On Thu, Feb 27, 2020 at 12:28:16PM +0100, Marco Felsch wrote: > > Since commit b6eba86030bf ("Input: edt-ft5x06 - add offset support for > > ev-ft5726") offset-x and offset-y is supported. Devices using those > > offset parameters don't support the offset parameter so we need to add > > the NO_REGISTER check for edt_ft5x06_ts_get_defaults(). > > > > Fixes: b6eba86030bf ("Input: edt-ft5x06 - add offset support for ev-ft5726") > > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > > I'll apply this, but I wonder if we should not move this check into > edt_ft5x06_register_write(), and also have edt_ft5x06_register_read() > return error if address is "NO_REGISTER"? I tought so too but I wanted to keep the fix small and backportable. Regards, Marco > Thanks. > > -- > Dmitry > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |