diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-01 20:06:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-01 20:06:09 -0400 |
commit | 3e75c6de1ac33fe3500f44573d9212dc82c99f59 (patch) | |
tree | ef10932e204ba8a9885051b06d4524d284207d61 /drivers/usb/musb/musb_core.c | |
parent | cb1595563880a81dab6eab9a5ecb4520d2e76077 (diff) | |
parent | 940ab8f1ef9369da5b58a1bec6820bfd4a7b9042 (diff) |
Merge tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB patches from Greg KH:
"Here's the big USB pull request for 3.15-rc1.
The normal set of patches, lots of controller driver updates, and a
smattering of individual USB driver updates as well.
All have been in linux-next for a while"
* tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (249 commits)
xhci: Transition maintainership to Mathias Nyman.
USB: disable reset-resume when USB_QUIRK_RESET is set
USB: unbind all interfaces before rebinding any
usb: phy: Add ulpi IDs for SMSC USB3320 and TI TUSB1210
usb: gadget: tcm_usb_gadget: stop format strings
usb: gadget: f_fs: add missing spinlock and mutex unlock
usb: gadget: composite: switch over to ERR_CAST()
usb: gadget: inode: switch over to memdup_user()
usb: gadget: f_subset: switch over to PTR_RET
usb: gadget: lpc32xx_udc: fix wrong clk_put() sequence
USB: keyspan: remove dead debugging code
USB: serial: add missing newlines to dev_<level> messages.
USB: serial: add missing braces
USB: serial: continue to write on errors
USB: serial: continue to read on errors
USB: serial: make bulk_out_size a lower limit
USB: cypress_m8: fix potential scheduling while atomic
devicetree: bindings: document lsi,zevio-usb
usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs
usb: chipidea: imx: Use dev_name() for ci_hdrc name to distinguish USBs
...
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r-- | drivers/usb/musb/musb_core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 239ad0b1ceb6..07576907e2c6 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c | |||
@@ -438,7 +438,6 @@ void musb_hnp_stop(struct musb *musb) | |||
438 | static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, | 438 | static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, |
439 | u8 devctl) | 439 | u8 devctl) |
440 | { | 440 | { |
441 | struct usb_otg *otg = musb->xceiv->otg; | ||
442 | irqreturn_t handled = IRQ_NONE; | 441 | irqreturn_t handled = IRQ_NONE; |
443 | 442 | ||
444 | dev_dbg(musb->controller, "<== DevCtl=%02x, int_usb=0x%x\n", devctl, | 443 | dev_dbg(musb->controller, "<== DevCtl=%02x, int_usb=0x%x\n", devctl, |
@@ -656,7 +655,7 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, | |||
656 | break; | 655 | break; |
657 | case OTG_STATE_B_PERIPHERAL: | 656 | case OTG_STATE_B_PERIPHERAL: |
658 | musb_g_suspend(musb); | 657 | musb_g_suspend(musb); |
659 | musb->is_active = otg->gadget->b_hnp_enable; | 658 | musb->is_active = musb->g.b_hnp_enable; |
660 | if (musb->is_active) { | 659 | if (musb->is_active) { |
661 | musb->xceiv->state = OTG_STATE_B_WAIT_ACON; | 660 | musb->xceiv->state = OTG_STATE_B_WAIT_ACON; |
662 | dev_dbg(musb->controller, "HNP: Setting timer for b_ase0_brst\n"); | 661 | dev_dbg(musb->controller, "HNP: Setting timer for b_ase0_brst\n"); |
@@ -672,7 +671,7 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, | |||
672 | break; | 671 | break; |
673 | case OTG_STATE_A_HOST: | 672 | case OTG_STATE_A_HOST: |
674 | musb->xceiv->state = OTG_STATE_A_SUSPEND; | 673 | musb->xceiv->state = OTG_STATE_A_SUSPEND; |
675 | musb->is_active = otg->host->b_hnp_enable; | 674 | musb->is_active = musb->hcd->self.b_hnp_enable; |
676 | break; | 675 | break; |
677 | case OTG_STATE_B_HOST: | 676 | case OTG_STATE_B_HOST: |
678 | /* Transition to B_PERIPHERAL, see 6.8.2.6 p 44 */ | 677 | /* Transition to B_PERIPHERAL, see 6.8.2.6 p 44 */ |