mmc: davinci: Add support for set_power callback
authorIdo Yariv <ido@wizery.com>
Thu, 28 Jul 2011 20:49:09 +0000 (20:49 +0000)
committerSekhar Nori <nsekhar@ti.com>
Sat, 17 Sep 2011 10:23:23 +0000 (15:53 +0530)
Some devices connected to the MMC bus are power controlled by external
means. For instance, an SDIO device may be powered down/up by an
external gpio line.

In order to avoid toggling power from within the MMC host driver, add a
set_power callback function, which will be called by set_ios upon
powering down/up.

Signed-off-by: Ido Yariv <ido@wizery.com>
CC: Chris Ball <cjb@laptop.org>
Acked-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

No differences found