projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0de49
)
pcmcia: pxa2xx/vpac270: free gpios on exist rather than requesting
author
Jonathan Cameron
<jic23@cam.ac.uk>
Mon, 6 Jun 2011 14:24:13 +0000
(15:24 +0100)
committer
Eric Miao
<eric.y.miao@gmail.com>
Mon, 11 Jul 2011 06:26:34 +0000
(14:26 +0800)
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/pcmcia/pxa2xx_vpac270.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pcmcia/pxa2xx_vpac270.c
b/drivers/pcmcia/pxa2xx_vpac270.c
index 712baab3c83d58147237384fb168a4a6c3ceba1c..e956f659089a2c1b91716a7bccdf68f425837131 100644
(file)
--- a/
drivers/pcmcia/pxa2xx_vpac270.c
+++ b/
drivers/pcmcia/pxa2xx_vpac270.c
@@
-76,10
+76,10
@@
static int vpac270_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
static void vpac270_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt)
{
if (skt->nr == 0)
- gpio_
request
_array(vpac270_pcmcia_gpios,
+ gpio_
free
_array(vpac270_pcmcia_gpios,
ARRAY_SIZE(vpac270_pcmcia_gpios));
else
- gpio_
request
_array(vpac270_cf_gpios,
+ gpio_
free
_array(vpac270_cf_gpios,
ARRAY_SIZE(vpac270_cf_gpios));
}