]> git.baikalelectronics.ru Git - kernel.git/commit
Input: iqs5xx - remove superfluous revision validation
authorJeff LaBundy <jeff@labundy.com>
Mon, 22 Mar 2021 04:03:16 +0000 (21:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Mar 2021 18:14:09 +0000 (11:14 -0700)
commit6dbe9cfd893eff3f1e9120eec084969636f37371
treef24bad751bdd57190b897f42cf19fc4678fca607
parent1536d9657c300d75cf87eef336dc2fe232bc208d
Input: iqs5xx - remove superfluous revision validation

The vendor-assigned firmware project number is restricted to the
generic project number (15); however the vendor may assign other
project numbers to specific applications and customers.

These custom project numbers may be based on forwards-compatible
firmware revision 1.x. However, the driver unnecessarily rejects
anything older than firmware revision 2.0.

To support other applications, remove these unnecessarily strict
checks and enter the bootloader only for truly incompatible A000
devices.

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/20210313191236.4366-5-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/iqs5xx.c