]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2: Overo: init I2C before MMC to fix MMC suspend/resume failure
authorKevin Hilman <khilman@ti.com>
Thu, 28 Jun 2012 17:01:31 +0000 (10:01 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Jul 2012 11:58:47 +0000 (04:58 -0700)
commit988bc933da4c3981d793c3d49a87c3aba06e1941
treece138b23ef7380c6acd1b84fe07a31d0337ee350
parent3b15e0f7495f5dcfda3ad9d09b0aa6894191804f
ARM: OMAP2: Overo: init I2C before MMC to fix MMC suspend/resume failure

In order for suspend/resume dependencies to work correctly, I2C has to
be initialized (more specifically, registered with the driver core)
before MMC.  Without this, the MMC driver fails to adjust the VMMC
regulator (using i2c writes) during the suspend path.

Problem found testing suspend/resume on 3730/OveroSTORM platform.

Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-overo.c