Re: [patch 1/4] Make usb_hcd_irq available for multi-role USB controllers with a shared interrupt line
David Brownell <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 26 April 2007, Peter Korsgaard wrote: > Some multi-role (host/peripheral) USB controllers use a shared interrupt > line for all parts of the chip. Export usb_hcd_irq so drivers can call it > from their interrupt handler instead of duplicating code. > Drivers pass an irqnum of 0 to usb_add_hcd to signal that the interrupt handler > shouldn't be registerred by the core. The musb_hdrc driver actually bypasses that routine, since the OTG state machine is substantially hairier than a pure host-side one. This patch doesn't necessarily seem wrong, but on the other hand ISTR thinking that it really didn't help much with OTG hardware. - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel