Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbdH0SQG (ORCPT ); Sun, 27 Aug 2017 14:16:06 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:46302 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146AbdH0SQF (ORCPT ); Sun, 27 Aug 2017 14:16:05 -0400 Subject: Re: [PATCH 1/6] staging: usb: typec: tcpm set port type callback To: Greg Kroah-Hartman , Badhri Jagan Sridharan Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <20170827052324.11854-1-Badhri@google.com> <20170827180136.GA30883@kroah.com> From: Guenter Roeck Message-ID: <16cc9d9c-b11f-ecab-857e-854c47e266ad@roeck-us.net> Date: Sun, 27 Aug 2017 11:16:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170827180136.GA30883@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US 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 Content-Length: 1527 Lines: 36 On 08/27/2017 11:01 AM, Greg Kroah-Hartman wrote: > On Sat, Aug 26, 2017 at 10:23:24PM -0700, Badhri Jagan Sridharan wrote: >> The port type callback call enquires the tcpc_dev if >> the requested port type is supported. If supported, then >> performs a tcpm reset if required after setting the tcpm >> internal port_type variable. >> >> Check against the tcpm port_type instead of checking >> against caps.type as port_type reflects the current >> configuration. >> >> Signed-off-by: Badhri Jagan Sridharan >> Reviewed-by: Guenter Roeck >> --- >> drivers/staging/typec/tcpm.c | 52 ++++++++++++++++++++++++++++++++++---------- >> 1 file changed, 41 insertions(+), 11 deletions(-) > > This series is really messed up. I see patches out of 6 and out of 11, > and none of it "threaded" so I don't know what is what to apply :( > > Please resend the whole series, correctly, with Guenter's reviewed-by, > so I know what to apply and in what order. > Agreed, I got confused a bit as well. I think Badhri resent patches 1..6 as part of the 1..11 series and marked those as v2, but he did not mark patches 7..11 as v2. Badhri, please mark all patches as v3 and indicate the reason in the changelog (the reason being to add my Reviewed-by: tag and to fix patch sequence/version numbers). In general, if you add a patch to a series, please mark the entire series with the same version and provide a changelog entry indicating that the patch was added in this version. Thanks, Guenter