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 1

    As the incomplete type is `struct task_struct', including fixes
    it.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Dmitry Torokhov
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

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

    Dmitry Torokhov
     

03 May, 2007

1 commit


24 Nov, 2006

1 commit


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

    Anssi Hannula