1. 28 Apr, 2011 2 commits
    • Mark Brown's avatar
      Input: wm831x-ts - allow IRQ flags to be specified · acad9853
      Mark Brown authored
      This allows maximum flexibility for configuring the direct GPIO based
      interrupts.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      acad9853
    • Mark Brown's avatar
      Input: wm831x-ts - fix races with IRQ management · f5346668
      Mark Brown authored
      If the WM831x pen down and data IRQs run in parallel it is possible for the
      data and pen down IRQs to deadlock themselves as one is part way through
      disabling its operation while the other is part way through enabling. Fix
      this by always disabling the pen down interrupt while data is active and
      vice versa.  When a changeover is required we disable the IRQ that is to
      be stopped then schedule work that will enable the new IRQ.
      
      We need to handle the data flow in the data IRQ as the readback from the
      device needs to be ordered correctly with the IRQ for robust operation.
      
      This also fixes an issue when using the built in IRQs due to enable_irq()
      not being valid from interrupt context on an interrupt controller with bus
      operations like the built in IRQ controller - this issue may also have
      affected other interrupt controllers.  We can't rely on having the data
      and pen down IRQs available via GPIOs on the CPU on every system.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      f5346668
  2. 18 Apr, 2011 2 commits
  3. 13 Apr, 2011 3 commits
    • Jeff Brown's avatar
      Input: evdev - indicate buffer overrun with SYN_DROPPED · 9fb0f14e
      Jeff Brown authored
      Add a new EV_SYN code, SYN_DROPPED, to inform the client when input
      events have been dropped from the evdev input buffer due to a
      buffer overrun.  The client should use this event as a hint to
      reset its state or ignore all following events until the next
      packet begins.
      Signed-off-by: default avatarJeff Brown <jeffbrown@android.com>
      [dtor@mail.ru: Implement Henrik's suggestion and drop old events in
       case of overflow.]
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      9fb0f14e
    • Chase Douglas's avatar
      Input: document event types and codes and their intended use · b1e064b8
      Chase Douglas authored
      This commit adds the file Documentation/input/event-codes.txt.
      Acked-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      Signed-off-by: default avatarChase Douglas <chase.douglas@canonical.com>
      Signed-off-by: default avatarChris Bagwell <chris@cnpbagwell.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      b1e064b8
    • Jarod Wilson's avatar
      Input: add KEY_IMAGES specifically for AL Image Browser · ba6a078b
      Jarod Wilson authored
      Many media center remotes have buttons intended for jumping straight to
      one type of media browser or another -- commonly, images/photos/pictures,
      audio/music, television, and movies. At present, remotes with an images
      or photos or pictures button use any number of different keycodes which
      sort of maybe fit. I've seen at least KEY_MEDIA, KEY_CAMERA,
      KEY_GRAPHICSEDITOR and KEY_PRESENTATION. None of those seem quite right.
      In my mind, KEY_MEDIA should be something more like a media center
      application launcher (and I'd like to standardize on that for things
      like the windows media center button on the mce remotes). KEY_CAMERA is
      used in a lot of webcams, and typically means "take a picture now".
      KEY_GRAPHICSEDITOR implies an editor, not a browser. KEY_PRESENTATION
      might be the closest fit here, if you think "photo slide show", but it
      may well be more intended for "run application in full-screen
      presentation mode" or to launch something like magicpoint, I dunno.
      And thus, I'd like to have a KEY_IMAGES, which matches the HID Usage AL
      Image Browser, the meaning of which I think is crystal-clear. I believe
      AL Audio Browser is already covered by KEY_AUDIO, and AL Movie Browser
      by KEY_VIDEO, so I'm also adding appropriate comments next to those
      keys.
      Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      ba6a078b
  4. 12 Apr, 2011 1 commit
  5. 06 Apr, 2011 2 commits
  6. 03 Apr, 2011 1 commit
  7. 01 Apr, 2011 1 commit
  8. 31 Mar, 2011 4 commits
  9. 29 Mar, 2011 2 commits
  10. 27 Mar, 2011 3 commits
  11. 24 Mar, 2011 3 commits
  12. 19 Mar, 2011 1 commit
  13. 17 Mar, 2011 15 commits