]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cyapa - do not try to enable proximity reporting on older devices
authorDudley Du <dudl@cypress.com>
Thu, 30 Jul 2015 18:26:39 +0000 (11:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Jul 2015 18:34:00 +0000 (11:34 -0700)
commit30243b849203df3800166b1ec471b5d4a62a5c57
tree915083f54c05e55ae88fe01edebbe9c5f2a5e165
parentbb4cdb8ed398984c2b0ec083ca6487c189491c12
Input: cyapa - do not try to enable proximity reporting on older devices

Avoid the driver generate warning message when the cyapa driver working
with the old Gen5 trackpad device which does not support the proximity
function.  Those old Gen5 trackpad device all have the platform version
less than 2.

Signed-off-by: Dudley Du <dudl@cypress.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa_gen5.c