Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4281229imu; Fri, 30 Nov 2018 14:16:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/Umt/V7XBF1NeawYxRXr1fJAMIsAI4nPo+mGqx1rcbce1VVO3bf/PMtdgB7+ndiYvUfeC61 X-Received: by 2002:a63:d40a:: with SMTP id a10mr6153211pgh.394.1543616206707; Fri, 30 Nov 2018 14:16:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543616206; cv=none; d=google.com; s=arc-20160816; b=x5iAoTK7R6P0A1oAfDpG++GWDF9JikURq8+a7D6bIQX/n1fQjWLUc21hNw63qrdBpm 9E614pfdr2oP/IGVfgMxUmgjUT5Wv/nuz+JvJ/YTH/MFyA/NRX55Q4GiDOeJXyIVrSfs H1cncpAicz6YECqGRokc/4gTBGnFVCooa7StKu7VxoHUxWXFNlf/DGyKC6rSZ75bQ13T d0ddNuAZbvtjm20ltlYxIOVxiwR8DpbbpnzMXPxfBTdcaI5trWoq97yPO6TJSbLhDqHC YPzUZGVcN3WUqAk+/05CknyuZU3kEFfd/mto0N/1zsBVMUeOGfbQ5BpvbO5+CRkNJ2cr VKPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=wC9ZKEvzEze3qYC4AB5mfujvI54Rr1+VViVcCt3YLBo=; b=Crym/2/RtfCvFxhqPGqwaJ0AzuaFmJUSu+o498Qi9lDOPMU7DO0NW0Wnwbmlhyqlsj yNXtZ2DoTV4wp73qdzvD+B14z//EIJieZ1tkS6ObiS4GcBTdbyyPkXb2END0Tnkx+dX7 YAzyjakFdnGRoBMi2j5dvi+I3SJNkem0ibJQaTgFAHKg+ZU3704txWK65Q5p4S6AKS5v ABXlCr90Ejw57tRCUqdnKSNp8nBqLBYS/GhWDtVa804MOE6AYdQKTxKe3MEsgPHn/vR0 xM6KAgsc/XqAglcszGqysWgk9zlSmiIT1o570T9HE4FMV/9inYgxnBz080jzSmG5JfXK U/uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d9eIlTkH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si6141621plq.336.2018.11.30.14.16.31; Fri, 30 Nov 2018 14:16:46 -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; dkim=pass header.i=@linaro.org header.s=google header.b=d9eIlTkH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726932AbeLAJ0j (ORCPT + 99 others); Sat, 1 Dec 2018 04:26:39 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:37609 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725749AbeLAJ0j (ORCPT ); Sat, 1 Dec 2018 04:26:39 -0500 Received: by mail-lf1-f67.google.com with SMTP id p17so5217586lfh.4 for ; Fri, 30 Nov 2018 14:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wC9ZKEvzEze3qYC4AB5mfujvI54Rr1+VViVcCt3YLBo=; b=d9eIlTkHByKse018F6Mp5XH5oa6NzgUttLJ2OgdgogauSOGhUfQL8quvEaKMTPo3p/ jDcTAXmanJYSMtBgLglq6VLnm0SxB0xUB8y9+wP/Kn4Lt876+3G85kgs14DSTBTCbicQ POr9kZ+mcQnz+lZzenUb3LwwaY9VbZrtKCaF4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wC9ZKEvzEze3qYC4AB5mfujvI54Rr1+VViVcCt3YLBo=; b=LcTTuFLuoRu6U/i0nmGgu4t46TWunjM+wEu+h+dhCjBdh6MYabhGTx9X5KGHVrrUXF e7XMNCpOAUXPE7HOPMb9wfS+b7zC8gtkteLLTKemJrdAx9MEXTwNtTQ2sEt9mjH6dqd0 vlzlC5m+Q5foIryiCCRhw+oqKgFIa/aQAGxj0Nd1OO+KZB8zADoXE6jjQiGfHBijAava zOvpX5nQuqUEwERdT2lzmUWwoKMdTLTqdz+WLRbVjeC7LTYcnvDm6UJDTL2jTphebyj/ CmJkKluUwLBx5OEkfZ++Hdsuf+WK/to3q5nhQi209hRgEUxMymnL6NvMgvluCk19ubO2 DrOw== X-Gm-Message-State: AA+aEWY7SJifeLKiAJgRc8e1Y7OGEFojC4nqojDU3ZMtSf7tEO2t4IWE IQBr6ijDRrmvLadxJJme1tShe8YM30zTdwrvmF2qfw== X-Received: by 2002:a19:c801:: with SMTP id y1mr4473095lff.53.1543616151391; Fri, 30 Nov 2018 14:15:51 -0800 (PST) MIME-Version: 1.0 References: <20181122173015.23905-1-ckeepax@opensource.cirrus.com> <20181122173015.23905-2-ckeepax@opensource.cirrus.com> <20181123142544.GI2089@sirena.org.uk> In-Reply-To: <20181123142544.GI2089@sirena.org.uk> From: Linus Walleij Date: Fri, 30 Nov 2018 23:15:39 +0100 Message-ID: Subject: Re: [PATCH 2/3] regulator: Only free GPIOs if the core requested them To: Mark Brown Cc: Charles Keepax , Liam Girdwood , Marek Szyprowski , "linux-kernel@vger.kernel.org" , patches@opensource.cirrus.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 23, 2018 at 3:25 PM Mark Brown wrote: > However even with patch 3 I think it'd be better to base this off the > rest of Linus' series for converting to descriptors (which is currently > sitting waiting for some more testing) since that will convert > everything to descriptors and so remove the code that's doing requests > in the core entirely. I have made the "real" (or so I think) solution to this problem which essentially hardens the core so that it very explicitly takes over the descriptor from the driver. I'm just having it spin a bit around the 0day build servers (they don't seem to respond right now). I built all patched drivers I could easily configure in locally. I am planning to respin the rest of the cleanups making the core only handle descriptors on top of it. Yours, Linus Walleij