]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
hsmmc.c glue uses standard GPIO calls
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 13 Oct 2008 20:03:07 +0000 (13:03 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Oct 2008 21:25:18 +0000 (14:25 -0700)
commit8b8a2b4ba934390de12075afbbb3391276c22f39
tree03bd1fd1a2840bc41e395dc30390526bed0d0e8e
parent73f251d3e14edc8ad3a96edc7b3b4157713873bd
hsmmc.c glue uses standard GPIO calls

Convert the hsmmc init code over to standard GPIO calls:
gpio_request(), gpio_free(), gpio_get_value_cansleep().

NOTE that this doesn't pass GPIO numbers in to hsmmc_init();
those values are still hard-wired.  (For the write protect
signal, the LACK of value is hard-wired...)  So the hsmmc
glue is still kind of problematic.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/hsmmc.c
drivers/gpio/twl4030-gpio.c
include/linux/i2c/twl4030.h