> From: Matthijs Kooijman [mailto:matth...@stdin.nl]
> Sent: Wednesday, April 17, 2013 10:06 AM
> 
> On Tue, Apr 16, 2013 at 07:39:22PM +0000, Paul Zimmerman wrote:

...

>> DisconnInt is cleared via the GINTSTS register, HChInt is cleared via
>> the HCINTn register, and PrtInt is cleared via the HPRT register.
>> PTxFEmp can't be cleared without writing data to the FIFO, so I guess
>> that one should just be disabled in GINTMSK.

By the way, when I wrote this, I was thinking that the host interrupts
should be cleared and then disabled. But, as I mentioned in another
email, the host-mode registers actually disappear when the core
switches to device mode. So it is impossible to clear HChInt or PrtInt.
Only DisconnInt can be cleared, the rest should just be disabled in
GINTMSK.

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to