1. 24 7月, 2012 1 次提交
  2. 12 7月, 2012 4 次提交
  3. 08 7月, 2012 11 次提交
  4. 21 1月, 2012 1 次提交
    • C
      i2c: OMAP: Fix OMAP1 build error · 6c5aa407
      Cousson, Benoit 提交于
      CONFIG_OF is not defined for OMAP1 yet and thus the omap1_defconfig build
      generate an error for 3.3-rc1.
      
      drivers/i2c/busses/i2c-omap.c: In function 'omap_i2c_probe':
      drivers/i2c/busses/i2c-omap.c:1021:26: error: 'omap_i2c_of_match' undeclared (first use in this function)
      drivers/i2c/busses/i2c-omap.c:1021:26: note: each undeclared identifier is reported only once for each function it appears in
      
      Wrap omap_i2c_of_match with of_match_ptr() to prevent compilation error in case of OMAP1 build.
      Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      6c5aa407
  5. 18 1月, 2012 3 次提交
  6. 18 12月, 2011 1 次提交
  7. 29 10月, 2011 9 次提交
  8. 24 8月, 2011 1 次提交
  9. 11 7月, 2011 1 次提交
  10. 07 3月, 2011 1 次提交
  11. 23 2月, 2011 4 次提交
    • B
      i2c-omap: fixup commit cb527ede whitespace · a5a595cc
      Ben Dooks 提交于
      Fixup the whitespace error noticed in cb527edeSigned-off-by: NBen Dooks <ben-linux@fluff.org>
      a5a595cc
    • R
      i2c-omap: Double clear of ARDY status in IRQ handler · cb527ede
      Richard woodruff 提交于
      This errata occurs when the ARDY interrupt generation is enabled.
      At the begining of every new transaction the ARDY interrupt is cleared.
      
      On continuous i2c transactions where after clearing the ARDY bit from
      I2C_STAT register (clearing the interrupt), the IRQ line is reasserted and the
      I2C_STAT[ARDY] bit set again on 1. In fact, the ARDY status bit is not cleared
      at the write access to I2C_STAT[ARDY] and only the IRQ line is deasserted and
      then reasserted. This is not captured in the usual errata documents.
      
      The workaround is to have a double clear of ARDY status in irq handler.
      Signed-off-by: NRichard woodruff <r-woodruff2@ti.com>
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      cb527ede
    • B
      i2c-omap: fix build for !CONFIG_SUSPEND · f72487e7
      Balaji T K 提交于
      fix the build break when !CONFIG_SUSPEND
      
      drivers/i2c/busses/i2c-omap.c:1173: error: lvalue required as unary '&' operand
      make[3]: *** [drivers/i2c/busses/i2c-omap.o] Error 1
      make[2]: *** [drivers/i2c/busses] Error 2
      make[1]: *** [drivers/i2c] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: NBalaji T K <balajitk@ti.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      f72487e7
    • K
      i2c-omap: fix static suspend vs. runtime suspend · adf6e079
      Kevin Hilman 提交于
      When runtime PM is enabled, each OMAP i2c device is suspended after
      each i2c xfer.  However, there are two cases when the static suspend
      methods must be used to ensure the devices are suspended:
      
      1) runtime PM is disabled, either at compile time or dynamically
          via /sys/devices/.../power/control.
      2) an i2c client driver uses i2c during it's suspend callback, thus
         leaving the i2c driver active (NOTE: runtime suspend transitions are
         disabled during system suspend, so i2c activity during system
         suspend will runtime resume the device, but not runtime (re)suspend it.)
      
      Since the actual work to suspend the device is handled by the
      subsytem, call the bus methods to take care of it.
      
      NOTE: This takes care of a known suspend problem on OMAP3 where the
      TWL RTC driver does i2c xfers during its suspend path leaving the i2c
      driver in an active state (since runtime suspend transistions are
      disabled.)
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      adf6e079
  12. 04 1月, 2011 1 次提交
  13. 21 12月, 2010 1 次提交
  14. 10 11月, 2010 1 次提交