diff options
author | Jayeeta Banerjee <jayeeta.banerjee@stericsson.com> | 2010-05-14 15:32:49 +0530 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2010-09-02 22:45:26 -0600 |
commit | 80a04dcbc5e1f253026bca46f49a08a0fb0328dc (patch) | |
tree | dfa13ba7db8305634c0617c3ffa3ce5a0cbf64c8 /arch | |
parent | cd3be3d88881595834cd9576b0154789fbeaace5 (diff) | |
download | linux-2.6.34-ux500-80a04dcbc5e1f253026bca46f49a08a0fb0328dc.tar.gz |
ER 256770: Added exported function and sysfs implementation to call mmc_detect_change() for SDIO host from userside or from kernel module. This is required for the WLAN card in order to allow the SDIO host to detect card status after enabling /disabling WLAN ip from WLAN driver. Also this patch removes WLAN specific code (enabling WLAN ip by controlling GPIO215) from mop500-sdi.c file.
Signed-off-by: Jayeeta Banerjee <jayeeta.banerjee@stericsson.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Change-Id: I129f91cad1889aa9a6d5e44edd212ed4c23bd6c2
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2357
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ux500/mop500-sdi.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-ux500/mop500-sdi.c b/arch/arm/mach-ux500/mop500-sdi.c index 67073590f14..8a5e683821d 100644 --- a/arch/arm/mach-ux500/mop500-sdi.c +++ b/arch/arm/mach-ux500/mop500-sdi.c @@ -140,25 +140,6 @@ static struct mmc_board mmc_data = { static int sdio_configure(struct amba_device *dev) { int i; - int status; - - status = gpio_request(215, "sdio_init"); - if (status) { - dev_err(&dev->dev, "Unable to request gpio 215"); - return status; - } - - gpio_direction_output(215, 1); - gpio_set_value(215, 0); - mdelay(10); - gpio_set_value(213, 1); - mdelay(10); - gpio_set_value(215, 1); - mdelay(10); - gpio_set_value(213, 0); - mdelay(10); - - gpio_free(215); for (i = 208; i <= 214; i++) nmk_gpio_set_pull(i, NMK_GPIO_PULL_UP); |