]> err.no Git - linux-2.6/commit
Input: force feedback - make sure effect is present before playing
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 3 May 2007 04:51:10 +0000 (00:51 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 3 May 2007 04:51:10 +0000 (00:51 -0400)
commitdec3eb01c2409ca8276c1152c167add66a37d1ba
tree4c73362335ec1a82531a06af70f8d140bf44c5dc
parent84767d00a8fd54dd97866561f6e2ee246c8e1cdc
Input: force feedback - make sure effect is present before playing

Make sure that requested effect id is not out of range for the
device and that effect is present before requesting device to
play it.

Reported-by: Jan Kratochvil <honza@jikos.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/ff-core.c