pcm970 mmc: Fix ro switch
commita90c31a3b70bcef915ffddacb8cbb4e63de33415
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 6 Oct 2009 07:18:17 +0000 (6 09:18 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 13 Oct 2009 08:24:07 +0000 (13 10:24 +0200)
tree6092e712e30d97db4cb9c44b72e4e2a9450e48ed
parent6153384161222c855bb95ca3eee3b3d89ae2c9dd
pcm970 mmc: Fix ro switch

We have to use mxc_gpio_mode() for the card detection pin
instead of mxc_gpio_setup_multiple_pins() because the latter
does a gpio_request() and thus a later gpio_request() fails.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx2/pcm970-baseboard.c