Re: [PATCHv6 1/3] usb: USB Type-C connector class

From: Guenter Roeck
Date: Tue Aug 30 2016 - 09:47:50 EST


On 08/30/2016 06:11 AM, Heikki Krogerus wrote:
Hi,

On Tue, Aug 30, 2016 at 02:49:50PM +0300, Heikki Krogerus wrote:
On Tue, Aug 30, 2016 at 01:16:46PM +0200, Oliver Neukum wrote:
Error reporting does not require a synchronous operation. Reporting
it in the next read() or write() and making it pollable is perfectly
viable. It just must not be silently dropped.

OK, I think I got it. I need to document that. I'll also add
get_pr/dr/vconn hooks to the API for getting the status.

Would the attached diff do the trick? It also includes the other
suggestions from Guenter.


It is not at all what I meant or asked for :-(. I'll have a closer
look into the latest patch set later today.

Guenter