1. 18 3月, 2011 2 次提交
  2. 14 3月, 2011 1 次提交
  3. 12 3月, 2011 3 次提交
  4. 24 2月, 2011 1 次提交
  5. 23 2月, 2011 1 次提交
    • T
      gpio/sx150x: Do not access I2C from mask/unmask functions · 0ff56cd8
      Thomas Gleixner 提交于
      irq_chip->irq_mask/unmask are called with interrupts disabled and
      irq_desc->lock held. So we cannot access i2c from this context. That's
      what irq_bus_sync_unlock() is for.
      
      Store the masked information in the chip data structure and update the
      i2c bus from the irq_bus_sync_unlock() callback.
      
      This does not need a while(pending) loop because the update to this is
      always serialized via the bus lock, so we never have more than one pin
      update pending.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Gregory Bean <gbean@codeaurora.org>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Lennert Buytenhek <buytenh@secretlab.ca>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      0ff56cd8
  6. 12 2月, 2011 1 次提交
  7. 26 1月, 2011 1 次提交
  8. 15 1月, 2011 1 次提交
  9. 14 1月, 2011 17 次提交
  10. 24 12月, 2010 2 次提交
  11. 23 12月, 2010 1 次提交
  12. 22 12月, 2010 1 次提交
  13. 20 12月, 2010 3 次提交
  14. 03 12月, 2010 1 次提交
    • A
      cs5535-gpio: apply CS5536 errata workaround for GPIOs · 853ff883
      Andres Salomon 提交于
      The AMD Geode CS5536 Companion Device Silicon Revision B1 Specification
      Update mentions the follow as issue #36:
      
       "Atomic write transactions to the atomic GPIO High Bank Feature Bit
        registers should only affect the bits selected [...]"
      
       "after Suspend, an atomic write transaction [...] will clear all
        non-selected bits of the accessed register."
      
      In other words, writing to the high bank for a single GPIO bit will
      clear every other GPIO bit (but only sometimes after a suspend).
      
      The workaround described is obvious and simple; do a read-modify-write.
      This patch does that, and documents why we're doing it.
      Signed-off-by: NAndres Salomon <dilinger@queued.net>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      853ff883
  15. 26 11月, 2010 1 次提交
  16. 29 10月, 2010 3 次提交