From 80a04dcbc5e1f253026bca46f49a08a0fb0328dc Mon Sep 17 00:00:00 2001 From: Jayeeta Banerjee Date: Fri, 14 May 2010 15:32:49 +0530 Subject: 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 Signed-off-by: Mian Yousaf Kaukab Change-Id: I129f91cad1889aa9a6d5e44edd212ed4c23bd6c2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2357 Reviewed-by: Jonas ABERG --- arch/arm/mach-ux500/mop500-sdi.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'arch') 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); -- cgit v1.2.3