03 Jul, 2008
1 commit
-
Commit 656acd2bbc4ce7f224de499ee255698701396c48 ("Input: fix locking in
force-feedback core") causes the following regression on m68k:| linux/drivers/input/ff-core.c: In function 'input_ff_upload':
| linux/drivers/input/ff-core.c:172: error: dereferencing pointer to incomplete type
| linux/drivers/input/ff-core.c: In function 'erase_effect':
| linux/drivers/input/ff-core.c:197: error: dereferencing pointer to incomplete type
| linux/drivers/input/ff-core.c:204: error: dereferencing pointer to incomplete type
| make[4]: *** [drivers/input/ff-core.o] Error 1As the incomplete type is `struct task_struct', including fixes
it.Signed-off-by: Geert Uytterhoeven
Acked-by: Dmitry Torokhov
Signed-off-by: Linus Torvalds
30 Jun, 2008
1 commit
-
The newly added event_lock spinlock in the input core disallows sleeping
and therefore using mutexes in event handlers. Convert force-feedback
core to rely on event_lock instead of mutex to protect slots allocated
for fore-feedback effects. The original mutex is still used to serialize
uploading and erasing of effects.Reported-by: Anssi Hannula
Signed-off-by: Dmitry Torokhov
03 May, 2007
1 commit
-
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
Signed-off-by: Dmitry Torokhov
24 Nov, 2006
1 commit
-
Add input subsystem to kernel-api docbook.
Enhance some function and parameter comments.Signed-off-by: Randy Dunlap
Signed-off-by: Dmitry Torokhov
19 Jul, 2006
1 commit
-
Implement a new force feedback interface, in which all non-driver-specific
operations are separated to a common module. This includes handling effect
type validations, locking, etc.The effects are now file descriptor specific instead of the previous strange
half-process half-fd specific behaviour. The effect memory of devices is not
emptied if the root user opens and closes the device while another user is
using effects. This is a minor change and most likely no force feedback
aware programs are affected by this negatively.Otherwise the userspace interface is left unaltered.
Signed-off-by: Anssi Hannula
Signed-off-by: Dmitry Torokhov