Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751519AbdISSf6 (ORCPT ); Tue, 19 Sep 2017 14:35:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50480 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751227AbdISSf4 (ORCPT ); Tue, 19 Sep 2017 14:35:56 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 637577EA9E Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=hdegoede@redhat.com Subject: Re: [PATCH 1/2] mux: add mux_control_get_optional() API To: Peter Rosin Cc: Stephen Boyd , 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> From: Hans de Goede Message-ID: <258023e8-3f5c-6aef-3f46-a377f5b0bfb5@redhat.com> Date: Tue, 19 Sep 2017 20:35:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <64cd3a6d-cf3e-89ed-0c26-65b395d18008@axentia.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 19 Sep 2017 18:35:56 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1474 Lines: 37 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? Regards, Hans