Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp933471imu; Tue, 20 Nov 2018 09:05:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xl9xIXzXFPJA+V2FpQU8lCiXp2I+goaOWI4YZZ6yrTHtIP56LfKbRTlAOcxF56RjZUPKZq X-Received: by 2002:a63:1560:: with SMTP id 32mr2548705pgv.383.1542733538419; Tue, 20 Nov 2018 09:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542733538; cv=none; d=google.com; s=arc-20160816; b=wjw3VUb7SJWOhHlZ5Em/ZC1Wynv8cMN52e0GMlUla/BQnDHzqTr1i1YMscDdCy8IqG WS3BqML8+3tiUQkzF1vWNfp0e37bIIN4M2Fq+a3++26SdJNmrR4Mtu55X+q7T6vvuGBc yvaM99YNoL3vrvWl7wOJropNljQvstKsXpgo/SclXSrzUimGqm0xfr2J0sIa5xR212Ji P287NvbUprmU/Pgqmra/h18VbIdzyx1BqYZWQTGo4QN1AR2xb6wC+vqWGsQrD9+QJ7vT 1BPlmo/3XBWcnH3Ji0+lYQBro+16ooagR6+qJyYRluFErieJ7tMpYg07g7XxzI6yvxAd PIXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=olxZXz4SBYdhPU6qXS0Gzxp5Gt/4q+Iq8iSgaMLPLps=; b=NnGvfZGXCw2lbTf7o3p56Y9x8nYeJQuon43OAtOA9otrELly2MSLRJHKWjL4bIvHtA gWL6623xnTnaX4m2ZjFiuaUb37gW1u5Q6Nnr/QiInionTT/5iT4fLq5ylQ+9ds3GlsaK LBkE2sKYiN8viONvPOw6eqXWrG3JbrWjnnbMfoTAE9yccTu6iS5Ard+gJk4FJzY1XoN+ DWIIqpBBhKYbMjTwkSDvAeYVX7ai8q3JlOsHJE1GAOzX6K4PUvwNvl8XA2nVCqG0bEcm 8GR8xUK3SEwoR1R9GAtPgCUyF4AHK3OVd5nqekNQu3/nTmFNLqg+jNQ6bp0NBtUhgtcu eDcQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si40340776pgj.300.2018.11.20.09.04.27; Tue, 20 Nov 2018 09:05:38 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729093AbeKUDdu (ORCPT + 99 others); Tue, 20 Nov 2018 22:33:50 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:12119 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726281AbeKUDdt (ORCPT ); Tue, 20 Nov 2018 22:33:49 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wAKGxTeI014706; Tue, 20 Nov 2018 11:03:35 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail4.cirrus.com ([87.246.98.35]) by mx0a-001ae601.pphosted.com with ESMTP id 2nth984pjs-1; Tue, 20 Nov 2018 11:03:34 -0600 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail4.cirrus.com (Postfix) with ESMTP id 92EBE611C8B2; Tue, 20 Nov 2018 11:06:56 -0600 (CST) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Tue, 20 Nov 2018 17:03:33 +0000 Received: from imbe.wolfsonmicro.main (imbe.wolfsonmicro.main [198.61.95.81]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id wAKH3Wra012122; Tue, 20 Nov 2018 17:03:32 GMT Date: Tue, 20 Nov 2018 17:03:32 +0000 From: Charles Keepax To: Richard Fitzgerald CC: Marek Szyprowski , Mark Brown , Linus Walleij , Lee Jones , Liam Girdwood , , Subject: Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree Message-ID: <20181120170332.GE16508@imbe.wolfsonmicro.main> References: <66d3b74c-0152-b17b-89d4-a21d33445b25@samsung.com> <20181120144700.GB16508@imbe.wolfsonmicro.main> <20181120153215.GC16508@imbe.wolfsonmicro.main> <20181120153610.GD16508@imbe.wolfsonmicro.main> <9314db6c-9498-579d-430c-5a2992fe513e@samsung.com> <59879030-93a4-f562-b03b-c5e579d44e89@opensource.cirrus.com> <772b6fdc-57af-fef2-0c85-78446bec2c2a@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=782 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811200151 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 20, 2018 at 04:57:16PM +0000, Richard Fitzgerald wrote: > On 20/11/18 16:34, Marek Szyprowski wrote: > >On 2018-11-20 17:16, Richard Fitzgerald wrote: > >>On 20/11/18 15:56, Marek Szyprowski wrote: > >>>On 2018-11-20 16:36, Charles Keepax wrote: > >>>>On Tue, Nov 20, 2018 at 03:32:15PM +0000, Charles Keepax wrote: > >>>>>On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: > >>>>>>On 2018-11-20 15:47, Charles Keepax wrote: > >>>>>>>On Tue, Nov 20, 2018 at 02:43:32PM +0100, Marek Szyprowski wrote: > >>>>>>>>On 2018-05-17 18:41, Mark Brown wrote: > >>>>>>>>>Subject: [PATCH] regulator: wm8994: Pass descriptor instead of > >>>>>>>>>GPIO number > >>>>>>>>This patch causes following kernel warning on Samsung Exynos4412 > >>>>>>>>based > Sounds like all is ok and working as expected. > If this is causing you a problem you'll need to provide more explanation of > what problem you have so we can understand. > The problem looks to be that we shouldn't be using devm for the GPIO allocation because the device we want to allocate the memory against differs from the one that holds the OF node. Apologies for missing that in review of the patch. I have sent a fix that hopefully should resolve the issue, if you could test it on you system that would be awesome. Thanks, Charles