Received: by 10.223.185.116 with SMTP id b49csp721263wrg; Fri, 23 Feb 2018 05:52:20 -0800 (PST) X-Google-Smtp-Source: AH8x227uvFDkE9uromzp+wEg3tJI8e0DUpoqIz1sDfpQYHnPWxMbxO6PaUpJggJF6ClSN47Do4ky X-Received: by 10.99.8.4 with SMTP id 4mr1513069pgi.289.1519393940668; Fri, 23 Feb 2018 05:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519393940; cv=none; d=google.com; s=arc-20160816; b=DmEchD6LDIWxrCCKEIhYqWGRPr/fGI3lZmxSdyjaqzgyFtPaLYyfi2lde3hKC0zY0r DYnJOspcMaS/CqjkIv/BiywIbWpWffa6ECY11OpHj0uujYr0J+5yQxv1bOFLrjPF17lf Q1veBG/usITAUnh7WFoKmQfZLl4VQZfnJ5452alkakP986gELCKMqYnGlhW8fxPCZI5n Ov3H3JhL/iiS5InUj8maUCF3Y2FSReos5VttnzNQds382ga3SR+gFFxLigjXGt+/OWPh 0F/CX8GqfW58KzpAhbMHiHyNI4DOOvIHHBVuAl0p4X4FEUgUOl7qlaGIPA3CnYWbu5OC LH8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=r9obGD+3VNbeHH/oh1Do2jurjQRUXWGrtVXoSd2BMsY=; b=029HHkddjPyhhqeie4DP0Z6NVdBg5oaZeXK5uIOMwHNEIsMiwKTtGM50lj01VUSS7A fAWMh3iOsgW6k0H2vxrEDuhl1kW/hx3//lTS9+ROpXwPq8yBAIz11q9eYaPP7jqo41rJ jjMNwq8+QqtKa1A0i5Puw0tDDjFlr66pzWIXFkX3BoKPPLE6nN3MDe7yl0cvUDAvmTZh ZADr0awyc1xCZKL8DR1M0tk0vcg0dmICZh/V+tWreTRN7n4KMwQU6aV6/dUgeXNDF73K PXRXqt0HKF9vMCxWgl8N47pqSKUa3/xDko03jMLdAcYJJOag0YrjQQLqWaBYeZNi89E9 MVbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16-v6si1776441pli.832.2018.02.23.05.52.06; Fri, 23 Feb 2018 05:52:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475AbeBWNur (ORCPT + 99 others); Fri, 23 Feb 2018 08:50:47 -0500 Received: from vps-vb.mhejs.net ([37.28.154.113]:33786 "EHLO vps-vb.mhejs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751276AbeBWNup (ORCPT ); Fri, 23 Feb 2018 08:50:45 -0500 Received: by vps-vb.mhejs.net with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1epDkH-00032t-Iu; Fri, 23 Feb 2018 14:50:41 +0100 Subject: Re: [PATCH v2 3/5] gpio: Change ISA_BUS_API dependency to selection From: "Maciej S. Szmigiero" To: Linus Walleij Cc: William Breathitt Gray , Guenter Roeck , "open list:GPIO SUBSYSTEM" , linux-iio@vger.kernel.org, LINUXWATCHDOG , "linux-kernel@vger.kernel.org" References: <1534276cb63d1e9e6dd139b4edceedbe728f65f5.1514578085.git.vilhelm.gray@gmail.com> <20180222203009.GA10834@sophia> <278aed38-1b40-e362-00e2-38d61a4b81c2@maciej.szmigiero.name> Message-ID: Date: Fri, 23 Feb 2018 14:50:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <278aed38-1b40-e362-00e2-38d61a4b81c2@maciej.szmigiero.name> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22.02.2018 21:44, Maciej S. Szmigiero wrote: > Hi William, > Hi Linus, > > On 22.02.2018 21:30, William Breathitt Gray wrote: >> On Thu, Feb 22, 2018 at 04:16:17PM +0100, Linus Walleij wrote: >>> On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray >>> wrote: >>> >>>> The ISA_BUS_API Kconfig option enables the compilation of the ISA bus >>>> driver. The ISA bus driver does not perform any hardware interaction, >>>> and is instead just a thin layer of software abstraction to eliminate >>>> boilerplate code common to ISA-style device drivers. Since ISA_BUS_API >>>> has no dependencies and does not jeopardize the integrity of the system >>>> when enabled, drivers should select it when the ISA bus driver >>>> functionality is needed. >>>> >>>> Cc: Linus Walleij >>>> Signed-off-by: William Breathitt Gray >>> >>> Patch applied to the GPIO tree for v4.17. >>> >>> Can you confirm that we don't have any dangling ISA >>> drivers not using this? >>> >>> Yours, >>> Linus Walleij >> >> Hi Linus, >> >> This patchset should cover all current mainline drivers depending on >> ISA_BUS_API. >> > > Thanks for merging this series! > > Note that gpio-winbond (CONFIG_GPIO_WINBOND) driver was originally > merged using ISA_BUS_API selection as done for other ISA bus gpio drivers > by this patch, then temporary switched to the previous ("depends on") > style by commit 92a8046c9d952a to fix a circular Kconfig dependency. > So now this commit (92...) should be reverted to make gpio-winbond > driver Kconfig dependency / selection consistent with the remaining ISA > bus gpio drivers. > > Unfortunately, I can't test the reversion myself because it looks like > Linus didn't push his trees yet to git.kernel.org after applying this > series (or I am not looking at the right place - linusw/linux-gpio.git?). It looks like the series has been pushed to git.kernel.org now. I have tested the reversion of commit 92a8046c9d952a and can confirm that the ISA_BUS_API dependency / selection for gpio-winbond works then as intended (in a way that is consistent with other ISA bus gpio drivers). @Linus: Will you revert that commit or should I submit a patch that does it? Maciej