From 6f56d8045c9382fa0dfebd77cf090007cb252434 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Sun, 3 Sep 2006 12:21:50 -0700 Subject: [PATCH] --- yaml --- r: 36444 b: refs/heads/master c: cd22afda3f84452c6def29a68b06933e814e0e95 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/ohci-at91.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f760fd2167b2..de76d1318c7d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 901b3d75e71535f29b64f352e94ff474d95df475 +refs/heads/master: cd22afda3f84452c6def29a68b06933e814e0e95 diff --git a/trunk/drivers/usb/host/ohci-at91.c b/trunk/drivers/usb/host/ohci-at91.c index 5a5bdf374d76..b466581beb4a 100644 --- a/trunk/drivers/usb/host/ohci-at91.c +++ b/trunk/drivers/usb/host/ohci-at91.c @@ -193,7 +193,7 @@ ohci_at91_start (struct usb_hcd *hcd) if ((ret = ohci_init(ohci)) < 0) return ret; - root->maxchild = board->ports; + ohci->num_ports = board->ports; if ((ret = ohci_run(ohci)) < 0) { err("can't start %s", hcd->self.bus_name); @@ -297,6 +297,7 @@ static int ohci_hcd_at91_drv_resume(struct platform_device *pdev) if (!clocked) { clk_enable(iclk); clk_enable(fclk); + clocked = 1; } return 0;