Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3654
b: refs/heads/master
c: 589a008
h: refs/heads/master
v: v3
  • Loading branch information
Olav Kongas authored and Greg Kroah-Hartman committed Jun 27, 2005
1 parent 017358b commit 26b6395
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4808a1c0261176f9c7e28e7f108d41a381a7d0fc
refs/heads/master: 589a0083a3c9e9610e54984998a46c07a2584b55
11 changes: 10 additions & 1 deletion trunk/drivers/usb/host/isp116x-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1501,6 +1501,12 @@ static int isp116x_reset(struct usb_hcd *hcd)
}
if (!clkrdy) {
ERR("Clock not ready after 20ms\n");
/* After sw_reset the clock won't report to be ready, if
H_WAKEUP pin is high. */
if (!isp116x->board || !isp116x->board->reset)
ERR("The driver does not support hardware wakeup.\n");
ERR("Please make sure that the H_WAKEUP pin "
"is pulled low!\n");
ret = -ENODEV;
}
return ret;
Expand Down Expand Up @@ -1678,10 +1684,13 @@ static struct hc_driver isp116x_hc_driver = {
static int __init_or_module isp116x_remove(struct device *dev)
{
struct usb_hcd *hcd = dev_get_drvdata(dev);
struct isp116x *isp116x = hcd_to_isp116x(hcd);
struct isp116x *isp116x;
struct platform_device *pdev;
struct resource *res;

if(!hcd)
return 0;
isp116x = hcd_to_isp116x(hcd);
pdev = container_of(dev, struct platform_device, dev);
remove_debug_file(isp116x);
usb_remove_hcd(hcd);
Expand Down

0 comments on commit 26b6395

Please sign in to comment.