Commit 75b1cec5 authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] USB: net2280 writel fix

This driver is doing a writel to some random u32, rather than to a device
register.
parent a974f719
...@@ -1278,7 +1278,7 @@ static int net2280_wakeup (struct usb_gadget *_gadget) ...@@ -1278,7 +1278,7 @@ static int net2280_wakeup (struct usb_gadget *_gadget)
if (!_gadget) if (!_gadget)
return 0; return 0;
dev = container_of (_gadget, struct net2280, gadget); dev = container_of (_gadget, struct net2280, gadget);
writel (1 << GENERATE_RESUME, dev->usb->usbstat); writel (1 << GENERATE_RESUME, &dev->usb->usbstat);
/* pci writes may still be posted */ /* pci writes may still be posted */
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment