Skip to content

Commit

Permalink
fix ar150 usb control
Browse files Browse the repository at this point in the history
  • Loading branch information
alzhao committed Sep 10, 2016
1 parent 7dba62b commit 9d764af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion patches/000-gl-ar150-cc.patch
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
+ gl_ar150_gpio_keys);
+
+ /* enable usb */
+ gpio_request_one(GL_AR150_GPIO_BIN_USB,
+ gpio_request_one(GL_AR150_GPIO_USB_POW,
+ GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED,
+ "USB power");
+ ath79_register_usb();
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static void __init gl_ar150_setup(void)
gl_ar150_gpio_keys);

/* enable usb */
gpio_request_one(GL_AR150_GPIO_BIN_USB,
gpio_request_one(GL_AR150_GPIO_USB_POW,
GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED,
"USB power");
ath79_register_usb();
Expand Down

0 comments on commit 9d764af

Please sign in to comment.