aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/stamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/stamp.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 3e0ad04d8d75..37759ac7df2a 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -250,12 +250,7 @@ static struct resource sl811_hcd_resources[] = {
250void sl811_port_power(struct device *dev, int is_on) 250void sl811_port_power(struct device *dev, int is_on)
251{ 251{
252 gpio_request(CONFIG_USB_SL811_BFIN_GPIO_VBUS, "usb:SL811_VBUS"); 252 gpio_request(CONFIG_USB_SL811_BFIN_GPIO_VBUS, "usb:SL811_VBUS");
253 gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS); 253 gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS, is_on);
254
255 if (is_on)
256 gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 1);
257 else
258 gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 0);
259} 254}
260#endif 255#endif
261 256