Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890AbdITQL4 (ORCPT ); Wed, 20 Sep 2017 12:11:56 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:56552 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751851AbdITQLx (ORCPT ); Wed, 20 Sep 2017 12:11:53 -0400 X-Google-Smtp-Source: AOwi7QC3ztslyp43lk7KwvAw5YeJrgjkRljCa6YdWBwpx/B5mW4vdwqV3IBfUkJErSPXdFUPxDe4JA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 To: Hans de Goede , Peter Rosin From: Stephen Boyd In-Reply-To: <258023e8-3f5c-6aef-3f46-a377f5b0bfb5@redhat.com> Cc: MyungJoo Ham , Chanwoo Choi , Guenter Roeck , Heikki Krogerus , Darren Hart , Andy Shevchenko , Mathias Nyman , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, devel@driverdev.osuosl.org, Kuppuswamy Sathyanarayanan , Sathyanarayanan Kuppuswamy Natarajan , Greg Kroah-Hartman , linux-usb@vger.kernel.org References: <20170905164221.11266-6-hdegoede@redhat.com> <20170908154514.4463-1-peda@axentia.se> <20170908154514.4463-2-peda@axentia.se> <64cd3a6d-cf3e-89ed-0c26-65b395d18008@axentia.se> <258023e8-3f5c-6aef-3f46-a377f5b0bfb5@redhat.com> Message-ID: <150592390722.8926.3185526529797114235@sboyd-linaro> User-Agent: alot/0.6.0dev Subject: Re: [PATCH 1/2] mux: add mux_control_get_optional() API Date: Wed, 20 Sep 2017 09:11:47 -0700 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v8KGBx6n008545 Content-Length: 1757 Lines: 42 Quoting Hans de Goede (2017-09-19 11:35:50) > Hi, > > On 09/08/2017 05:54 PM, Peter Rosin wrote: > > On 2017-09-08 17:45, Peter Rosin wrote: > >> From: Stephen Boyd > >> > >> Sometimes drivers only use muxes under certain scenarios. For > >> example, the chipidea usb controller may be connected to a usb > >> switch on some platforms, and connected directly to a usb port on > >> others. The driver won't know one way or the other though, so add > >> a mux_control_get_optional() API that allows the driver to > >> differentiate errors getting the mux from there not being a mux > >> for the driver to use at all. > >> --- > >> Documentation/driver-model/devres.txt | 1 + > >> drivers/mux/core.c | 104 +++++++++++++++++++++++++++------- > >> include/linux/mux/consumer.h | 4 ++ > >> 3 files changed, 89 insertions(+), 20 deletions(-) > >> > >> I haven't tested this patch, and hence I have not signed it and I also > >> removed the sign-off from Stephen... > > > > Huh, I definitely intended to mention that this patch is based on [1] > > from Stephen, but that I've made changes according to the comments in > > that thread (and more). And those changes are what made me remove the > > sign-off from Stephen... > > AFAIK normally a Signed-off-by is kept if some (small-ish) changes > are made. The S-o-b is mostly an indication that the author is > ok with adding the code to the kernel under the GPL. > > Anyways, Stephen are you ok with re-adding your S-o-b to > the version modified by Peter? > Please add my sign off Signed-off-by: Stephen Boyd and I would expect Peter to have one as well with a maintainer tag indicating what changed from my patch.