]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
hsmmc: Add MMC3 support
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 27 Jan 2009 09:53:42 +0000 (11:53 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Feb 2009 20:15:28 +0000 (12:15 -0800)
commit3e0763d1d7a8bfc57b8761edfc627090d8113f20
treec8acd9d265fd16daee2161487c25d865fd27caf8
parent050893ae211017753ffb90d19aafc86da967ac28
hsmmc: Add MMC3 support

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
because hsmmc[2].name is needed for MMC3 name.

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