Thread (27 messages) 27 messages, 3 authors, 2012-05-10
STALE5144d
Revisions (14)
  1. rfc [diff vs current]
  2. rfc [diff vs current]
  3. v2 [diff vs current]
  4. rfc [diff vs current]
  5. v2 [diff vs current]
  6. v4 [diff vs current]
  7. v4 [diff vs current]
  8. v4 [diff vs current]
  9. v7 [diff vs current]
  10. v7 [diff vs current]
  11. v7 [diff vs current]
  12. v7 [diff vs current]
  13. v7 current
  14. v7 [diff vs current]

[RFC PATCH 00/11 V7] MXS: Add i.MX28 USB Host driver

From: Chen Peter-B29397 <hidden>
Date: 2012-05-09 03:29:17

 
quoted
quoted
Still use IRQF_SHARED for the usb interrupt, but:
* The IRQ handler in ehci-mxs, that's set in hc_driver.irq would be
always
returning IRQ_NONE.
* The IRQ handler in imx-otg would call the callback registered via
imx_otg_set_irq_handler() only if the port was actually in host mode
The interrupt which is registered by hcd core is usb_hcd_irq, it will
call
quoted
ehci_irq. The hc_driver.irq is included in usb_hcd_irq.
Hm, that's correct. I'll dive in and see if there's any other way around.
I
think I saw IRQF_DISABLED somewhere there, but that might be just some
phantom.
Either way, is this direction I'm taking the correct one (have irq
handler in
imx-otg and send IRQs to gadget/host drivers from there)?
Sorry for late as I can't see this email at my inbox.
If you can handle hcd irq well, I think it is correct direction. 


 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help