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)
commit95669d788192d351890bfb16785336c2db816356
treece138b23ef7380c6acd1b84fe07a31d0337ee350
parent6887a4131da3adaab011613776d865f4bcfb5678
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