15 May, 2014

1 commit

  • Managed resources are becoming more and more popular in drivers. Let's
    implement managed polled input devices, to complement managed regular input
    devices.

    Similarly to managed regular input devices only one new call
    devm_input_allocate_polled_device() is added and the rest of APIs is
    modified to work with both managed and non-managed devices.

    Reviewed-by: David Herrmann
    Tested-by: Alexander Shiyan
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

01 Feb, 2011

1 commit


20 Nov, 2009

1 commit

  • Sysfs entry for reading and setting of the polling interval. If the
    interval is set to 0, polling is stopped. Polling is restarted when
    interval is changed to non-zero.

    sysfs entries:
    poll = current polling interval in msec (RW)
    max = max allowed polling interval (RO)
    min = min allowed polling interval (RO)

    Minimum and maximum limit for interval can be set while setting up the
    device.

    Interval can be adjusted even if the input device is not currently open.

    [dtor@mail.ru: add kernel doc markup for the new fields]
    Signed-off-by: Samu Onkalo
    Signed-off-by: Dmitry Torokhov

    Samu Onkalo
     

18 Oct, 2009

1 commit


30 Apr, 2007

1 commit