Skip to content
Snippets Groups Projects
  1. Aug 18, 2012
  2. Jul 24, 2012
  3. Jul 12, 2012
  4. Jul 08, 2012
  5. Jan 20, 2012
    • Cousson, Benoit's avatar
      i2c: OMAP: Fix OMAP1 build error · 6c5aa407
      Cousson, Benoit authored
      
      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: default avatarBenoit Cousson <b-cousson@ti.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      6c5aa407
  6. Jan 17, 2012
  7. Dec 18, 2011
  8. Oct 29, 2011
  9. Aug 23, 2011
  10. Jul 11, 2011
  11. Mar 07, 2011
  12. Feb 23, 2011
  13. Feb 22, 2011
    • Kevin Hilman's avatar
      i2c-omap: fix static suspend vs. runtime suspend · adf6e079
      Kevin Hilman authored
      
      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: default avatarKevin Hilman <khilman@ti.com>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      adf6e079
  14. Jan 04, 2011
  15. Dec 21, 2010
Loading