Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1157376ybf; Fri, 28 Feb 2020 15:35:42 -0800 (PST) X-Google-Smtp-Source: APXvYqw8EDX+nhvgola07LOAaClDFGrTV8WYjf1Ba/L4E9RmshYDjsX3k5z7bXiDeJZmUm7F73uh X-Received: by 2002:a9d:7593:: with SMTP id s19mr4953772otk.219.1582932942179; Fri, 28 Feb 2020 15:35:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582932942; cv=none; d=google.com; s=arc-20160816; b=p4HhFyx9A2gvnl+uyJCysm4SjO0A7hhTMqQgxMRxyb6wrmRGSonEUOFJEVYmN7/v+J Sl2Ec0y1zLJotOGOJIIPvX8/i6hmjYPKR5pWv1LwzKKT3xgb9cO/oDIjVDfHveT1vrvy kSJ9TSzwMItmpR0EFJBSQg2Z8kysP9gyt4HmP8xGX3P/VxBPecYwBEquwjJjGv+g49gS ShqYvaQQ0ReJpK4QANbyt95q5XkXlPzNFaAwdIOHS+cMD6ua/IW5IPNJTQvnI1q41WPK 4NlwmTK8fzCIYS/7C4CkUlq6QyMk3Tm0VNBpy91Ez/jr8efUvManiHRoE5rGQQKlgScc NLkw== 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=q/B5228hYgmRnxW8FEHOYujtnQcsBZ77HbLjTHiA6bU=; b=EjjAXp4s2dZzp7zo0TWlsGLJKwfiAomJMUY90WY79WcKj15sVBuKJsRLE90aYTWHip YKTxdUPup+OnwKzglR17k292SxlLH6WJmQthamFpubaOmLwv2pmZcNuIrm+e5LYGHFbm 13xdftheswdtsHUxJsElHr3E47rI2DAvn2Lt1gDbWG4mht3YmWYv77dwpArz8h5CSqhB ghCWrzsilfqM6lPSV3/HC/Hd1mv1kssoCpKpKgYbz/CTaqpRTVy8zz7wPHNENz/daSvM y9ILN5aRrcyT/e+5ZvAAYkBSrwmH6QxPcHW4V8A5CcSN48GQS+vUmFWnHcgo42weYv0o p7yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Brro0fFL; 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 o20si2324486otl.60.2020.02.28.15.35.28; Fri, 28 Feb 2020 15:35:42 -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=Brro0fFL; 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 S1726525AbgB1XfR (ORCPT + 99 others); Fri, 28 Feb 2020 18:35:17 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:38730 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725957AbgB1XfR (ORCPT ); Fri, 28 Feb 2020 18:35:17 -0500 Received: by mail-lf1-f67.google.com with SMTP id w22so2327899lfk.5 for ; Fri, 28 Feb 2020 15:35:16 -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=q/B5228hYgmRnxW8FEHOYujtnQcsBZ77HbLjTHiA6bU=; b=Brro0fFLV4c6/pXJd1+hFk6W9NV+ug7bE06T2TmOrgmvdQNQmIHOeP8hNZE3verTb2 Z1xvznUr/tTzwRtmCictcI8nYLahoAUKP3smcP9eoJQJXlhivQwZ97Nd5M41jI1LvEI2 sAu+Arvz/7O2UqvHXdBTNBG9F0OFJiAvAsHpKlIuyeS4kFl5QMkS+8Uog7v3wSBScmE6 D+ecYEzqsZXuMo8HKqofIW34z14M9sPH/0/n0WO70cHns3wrwJyII54liXRp2aXgPwlL +pHMoVyEqy9t81esObV7+mOyDDb0H21IWltmPhtToX37PUYJmY8oCBmPyMHnuwEQgqct SwzQ== 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=q/B5228hYgmRnxW8FEHOYujtnQcsBZ77HbLjTHiA6bU=; b=JZeOdI0qQ1JvKN+pHCHSxmAaFrQXtsJ56NtW2TU1H79kVSUvTd+qv7grWqNQZnkIJ+ nEBrPdspE4J6PQ5Tybcq5PN/TkcYjNTLNbYUz4vc3pPgUsDFEkscN46ojbkHWZTGPYSq wubxx5AY/QVG8Z0UnY+4QAMPw7b63LYW4KmrVcVcibjBQ5hhyLlbyrpWu9fyv2jI2fXl bSB8Mf+Kq7pc3iiTTsLAfP7lf9/hjzlkC9MOLSYd+ZmOLXdEYLk93dUItFDXBcE3vgT5 gK2w0WZaCbNuTKi+Jg1ccDsnCJS6UiwLyJTdejAYT9NyhF18VCTFM5CIG73FeOz9fR6r sCQw== X-Gm-Message-State: ANhLgQ1YqzCRxryp6pWBF5p281h3zrfP/6u+3pLo5ASbD/zV8BnXSMpB LeDam6kM5b470U8ryMzdZ2B69NhyhywVOPB9nMBJCA== X-Received: by 2002:ac2:5499:: with SMTP id t25mr3829568lfk.194.1582932915370; Fri, 28 Feb 2020 15:35:15 -0800 (PST) MIME-Version: 1.0 References: <20200228154214.13916-1-ckeepax@opensource.cirrus.com> In-Reply-To: <20200228154214.13916-1-ckeepax@opensource.cirrus.com> From: Linus Walleij Date: Sat, 29 Feb 2020 00:35:04 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: madera: Add missing call to pinctrl_unregister_mappings To: Charles Keepax Cc: "open list:GPIO SUBSYSTEM" , "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, Feb 28, 2020 at 4:42 PM Charles Keepax wrote: > pinctrl_register_mappings is called in the pdata case, however a call to > pinctrl_unregister_mappings is missing causing the mappings to be leaked > on driver unbind. Add the missing call to correct this issue. > > Signed-off-by: Charles Keepax Patch applied for fixes. Yours, Linus Walleij