1. 28 4月, 2011 1 次提交
    • M
      Input: wm831x-ts - fix races with IRQ management · f5346668
      Mark Brown 提交于
      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: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      f5346668
  2. 19 4月, 2011 2 次提交
  3. 13 4月, 2011 3 次提交
  4. 12 4月, 2011 1 次提交
  5. 07 4月, 2011 2 次提交
  6. 03 4月, 2011 1 次提交
  7. 01 4月, 2011 1 次提交
  8. 31 3月, 2011 4 次提交
  9. 29 3月, 2011 2 次提交
  10. 27 3月, 2011 3 次提交
  11. 24 3月, 2011 3 次提交
  12. 19 3月, 2011 1 次提交
  13. 17 3月, 2011 16 次提交