Date: | 2013-12-17 12:13:13 (9 years 9 months ago) |
---|---|
Author: | Lars C. |
Commit: | fbeaeeb8316117b7dd3d6ab5dacba7ca5eaff9d1 |
Message: | usb: musb-jz4740: Mask host mode only IRQ bits As the device is gadget only the host mode IRQ bits are not implemented by the device. Make sure the musb core driver never sees any of the host mode IRQ bits set. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> |
Files: |
drivers/usb/musb/jz4740.c (1 diff) |
Change Details
drivers/usb/musb/jz4740.c | ||
---|---|---|
77 | 77 | musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); |
78 | 78 | musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); |
79 | 79 | |
80 | /* | |
81 | * The controller is gadget only, the state of the host mode IRQ bits is | |
82 | * undefined. Mask them to make sure that the musb driver core will | |
83 | * never see them set | |
84 | */ | |
85 | musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME | | |
86 | MUSB_INTR_RESET | MUSB_INTR_SOF; | |
87 | ||
80 | 88 | if (musb->int_usb || musb->int_tx || musb->int_rx) |
81 | 89 | retval = musb_interrupt(musb); |
82 | 90 |
Branches:
ben-wpan
ben-wpan-stefan
5396a9238205f20f811ea57898980d3ca82df0b6
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9