diff mbox

[RFC,02/36,Driver,Qualcomm,1070,USB] Register GPIO#109 for USB analog switch configuration

Message ID 1280133045-25945-2-git-send-email-wayne.lin@quantatw.com (mailing list archive)
State Rejected
Headers show

Commit Message

Wayne Lin July 26, 2010, 8:30 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c
index 0cab166..633514a 100644
--- a/arch/arm/mach-msm/board-qsd8x50.c
+++ b/arch/arm/mach-msm/board-qsd8x50.c
@@ -416,7 +416,7 @@  static struct msm_gpio hsusb_gpio_config_data[] = {
 	{ GPIO_CFG(98, 0, GPIO_OUTPUT, GPIO_NO_PULL, GPIO_2MA), "fs_power" },
 	{ GPIO_CFG(HUB_RESET_GPIO, 0, GPIO_OUTPUT, GPIO_NO_PULL, GPIO_2MA),
 								"swch_ctrl" },
-	{ GPIO_CFG(108, 0, GPIO_OUTPUT, GPIO_NO_PULL, GPIO_2MA), "hub_reset" },
+	{ GPIO_CFG(109, 0, GPIO_OUTPUT, GPIO_NO_PULL, GPIO_2MA), "hub_reset" },
 };
 
 static int msm_otg_gpio_init(void)
@@ -441,12 +441,12 @@  static void msm_otg_setup_gpio(unsigned int enable)
 			/* Config analog switch as USB host. */
 			gpio_set_value(98, 0); /* USB_FS_POWER_EN */
 			gpio_set_value(HUB_RESET_GPIO, 0); /* SWITCH_CONTROL */
-			gpio_set_value(108, 1); /* USB_HUB_RESET */
+			gpio_set_value(109, 1); /* USB_HUB_RESET */
 		} else {
 			/* Config analog switch as USB peripheral. */
 			gpio_set_value(98, 0); /* USB_FS_POWER_EN */
 			gpio_set_value(HUB_RESET_GPIO, 1); /* SWITCH_CONTROL */
-			gpio_set_value(108, 0); /* USB_HUB_RESET */
+			gpio_set_value(109, 0); /* USB_HUB_RESET */
 		}
 	}
 }