mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-04 18:00:02 -05:00
Revert "USB: pxa2xx_udc: fix hardcoded irq number"
This reverts commit d2487cb425.
Russell King points out that it's obviously bogus, and I have to agree.
Not only does "irq" not even exist in that scope, but we obviously need
to free the irq that we actually requested, and that's IRQ_USB.
Reported-by: Russell King <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Greg KH <[email protected]>
Cc: David Brownell <[email protected]>,
Cc: Milan Svoboda <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f47273e5c8
commit
be521466fe
1 changed files with 1 additions and 1 deletions
|
|
@ -2616,7 +2616,7 @@ lubbock_fail0:
|
|||
if (retval != 0) {
|
||||
printk(KERN_ERR "%s: can't get irq %i, err %d\n",
|
||||
driver_name, vbus_irq, retval);
|
||||
free_irq(irq, dev);
|
||||
free_irq(IRQ_USB, dev);
|
||||
return -EBUSY;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue