]> 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)
commit79cf3cfd5f37a49924dbbdf33a4c8a934197fbc9
treece138b23ef7380c6acd1b84fe07a31d0337ee350
parentcda1d5780ae091596fa4a45c2f1f9794c8e84e36
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