ARM: OMAP3: mmc-twl4030 add MMC3 support, v2
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 24 Mar 2009 01:23:47 +0000 (18:23 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:51:23 +0000 (18:51 -0700)
commit07d83cc9c839a5f05c7c1b6d823a8f483bda0441
tree463bce2402acd63d3180a41c672b31d8d41c8d01
parent01971f65ff88e3ebe2b6ae42b95d68e26b83718d
ARM: OMAP3: mmc-twl4030 add MMC3 support, v2

Device connected to MMC3 is assumed to be self-powered, so
set_power() function is empty. It can't be omited because
host driver requires it.

Array size for hsmmc[] is specified to allocate to allocate
an instance for the third MMC controller.

Also fix a leak which happens if invalid controller id
is passed.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3pandora.c
arch/arm/mach-omap2/mmc-twl4030.c