From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760430AbcHaNSk (ORCPT ); Wed, 31 Aug 2016 09:18:40 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:33640 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760331AbcHaNSh (ORCPT ); Wed, 31 Aug 2016 09:18:37 -0400 Subject: Re: [PATCHv6 1/3] usb: USB Type-C connector class To: Heikki Krogerus References: <1472474182-43858-1-git-send-email-heikki.krogerus@linux.intel.com> <1472474182-43858-2-git-send-email-heikki.krogerus@linux.intel.com> <1472549521.2623.10.camel@suse.com> <20160830100437.GA1751@kuha.fi.intel.com> <1472555806.2623.16.camel@suse.com> <20160830114950.GB1751@kuha.fi.intel.com> <20160830131119.GC1751@kuha.fi.intel.com> <20160831110953.GF1751@kuha.fi.intel.com> Cc: Oliver Neukum , Vincent Palatin , Bin Gao , Felipe Balbi , Greg KH , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org From: Guenter Roeck Message-ID: Date: Wed, 31 Aug 2016 06:18:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160831110953.GF1751@kuha.fi.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/31/2016 04:09 AM, Heikki Krogerus wrote: > Hi guys, > > On Tue, Aug 30, 2016 at 06:47:41AM -0700, Guenter Roeck wrote: >> 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. > > An other attempt. This one has just the suggestions from you Guenter > (including the supports_usb_power_delivery attibute for cables as > well), and update to the ABI document. > > Let me know if it's OK. > Yes, much better. Thanks, Guenter