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)
commite7d8e88aec888d4053f4b2be573ab63a39313f83
treef24bad751bdd57190b897f42cf19fc4678fca607
parent509c0083132bdca505a17140bc98a8365bf4e6ca
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