Re: [RFC PATCHv2] usb: USB Type-C Connector Class

From: Oliver Neukum
Date: Thu Jun 02 2016 - 02:28:15 EST


On Wed, 2016-06-01 at 06:34 -0700, Guenter Roeck wrote:
> The class code would not explicitly learn about the reset,
> but it would be informed about the exited modes.

That has drawbacks

- it doesn't tell you what caused the mode to be left (if you
UFP, it may be the regular command)
- it is a race against your own command
- it does not work if you are in basic USB mode

Regards
Oliver