git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: msm_sdcc: Fix a typo in MSM SDCC driver gpio setup
[pandora-kernel.git]
/
drivers
/
mmc
/
host
/
msm_sdcc.c
diff --git
a/drivers/mmc/host/msm_sdcc.c
b/drivers/mmc/host/msm_sdcc.c
index
a4c865a
..
d06539d
100644
(file)
--- a/
drivers/mmc/host/msm_sdcc.c
+++ b/
drivers/mmc/host/msm_sdcc.c
@@
-939,7
+939,7
@@
static void msmsdcc_setup_gpio(struct msmsdcc_host *host, bool enable)
struct msm_mmc_gpio_data *curr;
int i, rc = 0;
- if (!host->plat->gpio_data
&&
host->gpio_config_status == enable)
+ if (!host->plat->gpio_data
||
host->gpio_config_status == enable)
return;
curr = host->plat->gpio_data;