summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHector Palacios <hector.palacios@digi.com>2012-01-18 15:33:47 +0100
committerHector Palacios <hector.palacios@digi.com>2012-01-18 15:36:11 +0100
commitee1a082458d149626c3c206dc4e732f77d1b7a14 (patch)
treef104ce5c8e583370c85fb1c97629e1782bfa8948
parent4d7f89f6a1cd05e4a594418fb4ad942d3b4f666c (diff)
fim-sdio: enable pull-ups of FIM SDIO interface
It is believed to improve the stability of the signals so that they don't require external pull-ups. Specially for the cwme9210js where the lines are connected to the Redpine chip without pull-ups. Signed-off-by: Hector Palacios <hector.palacios@digi.com> (cherry picked from commit cffa4f0a5ad8b057d519bac479fdd75c15e4e1ba)
-rw-r--r--drivers/fims/sdio/fim_sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fims/sdio/fim_sdio.c b/drivers/fims/sdio/fim_sdio.c
index c2381273952a..06939e189371 100644
--- a/drivers/fims/sdio/fim_sdio.c
+++ b/drivers/fims/sdio/fim_sdio.c
@@ -1540,7 +1540,7 @@ static int fim_sdio_register_port(struct device *dev, struct fim_sdio_t *port,
NS921X_GPIO_INPUT,
NS921X_GPIO_DONT_INVERT,
gpios[cnt].func,
- NS921X_GPIO_DISABLE_PULLUP);
+ NS921X_GPIO_ENABLE_PULLUP);
} else {
/* Free the already requested GPIOs */
printk_err("Couldn't request the GPIO %i\n", gpios[cnt].nr);