summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabresd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c
index da4f5ef339f0..d4ef1d07b2d3 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -1015,6 +1015,12 @@ static void __init imx6q_sabresd_init_usb(void)
}
gpio_direction_output(SABRESD_USB_OTG_PWR, 0);
/* keep USB host1 VBUS always on */
+ ret = gpio_request(SABRESD_USB_H1_PWR, "usb-h1-pwr");
+ if (ret) {
+ pr_err("failed to get GPIO SABRESD_USB_H1_PWR: %d\n",
+ ret);
+ return;
+ }
gpio_direction_output(SABRESD_USB_H1_PWR, 1);
if (board_is_mx6_reva())
mxc_iomux_set_gpr_register(1, 13, 1, 1);