RE: [PATCH 02/10] staging: dwc2: do not handle PRTINT in dwc2_handle_common_intr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Matthijs Kooijman [mailto:matthijs@xxxxxxxx]
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux