Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338494
b: refs/heads/master
c: 4534874
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 765fce6 commit 45abf01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d39944ee85fb46cd499b16231cbb10a00e3d878
refs/heads/master: 4534874a8720a361845dce47d310a98e9aac8aeb
2 changes: 2 additions & 0 deletions trunk/drivers/usb/host/ehci-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ static int ehci_platform_reset(struct usb_hcd *hcd)
if (retval)
return retval;

if (pdata->no_io_watchdog)
ehci->need_io_watchdog = 0;
if (pdata->port_power_on)
ehci_port_power(ehci, 1);
if (pdata->port_power_off)
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/usb/ehci_pdriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
* initialization.
* @port_power_off: set to 1 if the controller needs to be powered down
* after initialization.
* @no_io_watchdog: set to 1 if the controller does not need the I/O
* watchdog to run.
*
* These are general configuration options for the EHCI controller. All of
* these options are activating more or less workarounds for some hardware.
Expand All @@ -41,6 +43,7 @@ struct usb_ehci_pdata {
unsigned big_endian_mmio:1;
unsigned port_power_on:1;
unsigned port_power_off:1;
unsigned no_io_watchdog:1;

/* Turn on all power and clocks */
int (*power_on)(struct platform_device *pdev);
Expand Down

0 comments on commit 45abf01

Please sign in to comment.