[linux-cirrus] Typo in ohci-ep93xx.c

  • From: Chase Douglas <cndougla@xxxxxxxxxx>
  • To: linux-cirrus@xxxxxxxxxxxxx
  • Date: Thu, 7 Dec 2006 22:44:00 -0500

It looks like no one has been adventurous enough to try APM on the EP93xx boards. I would have no idea if it works anyways, but I thought I'd try enabling it just for kicks. I found this typo in the usb driver.


Thanks,
Chase Douglas

--- linux.old/drivers/usb/host/ohci-ep93xx.c 2006-12-07 22:41:49.000000000 -0500 +++ linux/drivers/usb/host/ohci-ep93xx.c 2006-12-07 22:40:39.000000000 -0500
@@ -169,7 +169,7 @@
static int ohci_hcd_ep93xx_drv_suspend(struct platform_device *pdev, pm_message_t state)
{
        struct usb_hcd *hcd = platform_get_drvdata(pdev);
-       struct ochi_hcd *ohci = hcd_to_ohci(hcd);
+       struct ohci_hcd *ohci = hcd_to_ohci(hcd);

        if (time_before(jiffies, ohci->next_statechange))
                msleep(5);

Other related posts: