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)
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>

No differences found