Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9544865imu; Wed, 5 Dec 2018 06:33:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/XxeUnAtU/YuHR+cCuguurXxLkxVyDA0Y31soslaSzSpcMBgZZKMmkrGMYPWeiPDdj2LRW5 X-Received: by 2002:a17:902:2887:: with SMTP id f7mr23622502plb.176.1544020411880; Wed, 05 Dec 2018 06:33:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544020411; cv=none; d=google.com; s=arc-20160816; b=V6ADthJWqOejG5a6A/Pl8XMCc2LScUSQQpmVulwEeSpZYgfPm4SJXTFQcCFntI9l+A 7NuFJet6cgSgp99te7EaQIFocAkmhtBsn+HQdqT5k0P0Tc6BNjdG9ZvHhlFodYksAfHu IBXt/p4mHpi4hNk3tDhB6aj6jzVaKjabqPO0zG6x9GPA7/xQzErn6HGvULXt+5wjHdp4 8anJgwuXz8intFqD/iIELmdnOPjnP0eIWWo4boUl16WXM2kd8GELKA8+WW2KWQP+FeIS ceo/bZZLaH8l1h370csvtFlcD/0r/QHV8n5QEk60NLf1iLjJZqcPy4Fdk7d7EvU73WhA ERqQ== 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=JmYxr9IatdTdyk1fQg9DYdQxDubDRuKPD/DCUsG+khg=; b=GDWjjIV51AH+H5ZJarDx6Sz9ig7kbw7HlF7hbM1J82pHBQWBUVPGqiS92B+H8NsAkh FzBozk3PbdpxEgXMrj9mCI7stb139ijG4/T0JB14+F6QbCya1zIQBf6T0MHlc4CsNA6Y OaZpcENWyIsIBdyStFjNB0kplxl7m65XzRBcgyGDXs3Ko+W4ZLNuFFQBkZm+7VedAzU/ hiR3qVv+vzVsRH2fyO+WNiMwc2pczkTo5zHEnTSmnyVmXUpUTTE/pE3ISQRDUw1c4aKU CvcUbUu6MZQnEOFtK0PaWBIgsAFsbMlWw4UpsXXLX7mpAJtKRpkt8ec0ZPAcRgvNhI5r usVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I8g7CfFo; 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 b128si20460976pfa.283.2018.12.05.06.33.15; Wed, 05 Dec 2018 06:33:31 -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=I8g7CfFo; 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 S1727349AbeLEOcd (ORCPT + 99 others); Wed, 5 Dec 2018 09:32:33 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41450 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbeLEOcd (ORCPT ); Wed, 5 Dec 2018 09:32:33 -0500 Received: by mail-lj1-f193.google.com with SMTP id k15-v6so1052837ljc.8 for ; Wed, 05 Dec 2018 06:32:32 -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=JmYxr9IatdTdyk1fQg9DYdQxDubDRuKPD/DCUsG+khg=; b=I8g7CfFoFxLDgMHh1B3GUvQ5mWE+VzT7PXFbQ2fa5svDV1A9Tya6ccvNmHuhE221pq XvFNkGRRduhV0GbOheT0yfV8tUM9I026x3iH6lKEVB6XmM8hSdyfzY9B/MZ5r0Hhgi67 vLuLC3AKYFbMsLRx1/JMDIGHbkTWjAlHY9QmE= 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=JmYxr9IatdTdyk1fQg9DYdQxDubDRuKPD/DCUsG+khg=; b=BSIB1D7qej4svQcmDv4lRW0yeYe0mn9SKu0fxo4EWDvEqH5laprR/QY7ExnjMZINxS LDtiAqGNxCGrmOkk+tU2VvHNzDMCz951cn9Qy4Kas2BE4MOSaeqdXMovtOm+un1NUY8f vIyWMMAHC54dDU243kUUOMJg6JiYfQF0t5VRb6jbGdEeYmXxckziBp1LlG8HaxeevUmk 7bzcaDieBLInIxbKXhXyCAGMG/gcQ4io65Vt7K641ozX1IuLmxmQXtGfAizkgq26NbXe FWmZDB9JJZZm1KRRjeroc1GHrMV+Ofq2iqyE4oiWcpqyvICX7A4SszZ7Ai930eOcVL1w q4VA== X-Gm-Message-State: AA+aEWZZdiPFASGN3kJGB0BXskIIIjSWH1plB+03INie1B62QOcNQBYd IV9cXOiLoAmp/v4D+IZPtPspQD3Z+lYfV2R8BR2UDw== X-Received: by 2002:a2e:9849:: with SMTP id e9-v6mr15789580ljj.9.1544020351242; Wed, 05 Dec 2018 06:32:31 -0800 (PST) MIME-Version: 1.0 References: <20181201154151.14890-1-linus.walleij@linaro.org> <455ced52-e444-66f2-7dec-9d37bdd5116c@samsung.com> In-Reply-To: From: Linus Walleij Date: Wed, 5 Dec 2018 15:32:19 +0100 Message-ID: Subject: Re: [PATCH 00/13 v2] Regulator ena_gpiod fixups To: Marek Szyprowski Cc: Liam Girdwood , Mark Brown , "linux-kernel@vger.kernel.org" , Charles Keepax , Bartosz Golaszewski 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 Wed, Dec 5, 2018 at 3:30 PM Marek Szyprowski wrote: > > I just sent a fix for that, subject: > > "gpio: devres: Handle nonexclusive GPIOs" > > you could perhaps try it on top of this > > series? I intend to merge that separately as a fix for current, > > as it is a bug. > > Those 2 warnings were worrying me and I finally found! devres_* > functions require to pass a pointer to the pointer as match_data, so > desc must be passed as &desc to devres_find() and devres_destroy() > functions, otherwise they always return -ENOENT. I will comment > respective lines in your patches then. Ah thanks so much Marek! I will follow up with a v4 patch set immediately once I have it nailed down. Devres is tricky, and I'm not the smartest... Yours, Linus Walleij