Input: drv260x - add check for ERM mode and LRA Libraries
authorDan Murphy <dmurphy@ti.com>
Tue, 26 Aug 2014 22:36:55 +0000 (15:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 26 Aug 2014 22:42:03 +0000 (15:42 -0700)
commitdddf3bc454fe9b558c13ffd7896e8bea5d39ec29
treeb4ea7ac6b3668a42c0fa91275e5662925bd8760c
parent6aa9751679b04b351bf4b2e2678bc11ea7d0fea4
Input: drv260x - add check for ERM mode and LRA Libraries

Add a check to ensure that LRA libraries are not mixed with the ERM mode.
If ERM mode and the Library is empty "OR" the LRA library then exit, as the
LRA and empty libraries are not applicable for the ERM actuator.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/drv260x.c