Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp510474imm; Fri, 13 Jul 2018 01:12:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcDYgM0u5o3RAAnpccF7juDn10jt7h6r44Zo6Ddi3gzyNFa03ilyRIS4L610JYOw/++IOHr X-Received: by 2002:a17:902:784d:: with SMTP id e13-v6mr5283498pln.197.1531469553711; Fri, 13 Jul 2018 01:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531469553; cv=none; d=google.com; s=arc-20160816; b=LNRkjR0RaqlKkrwdVMTUStdwnC6KH5M+u9bNFdbRCa3K/yJwvnDwonVqUmHMDGvxgU K4ajJSfLFxWVOdubA+cYGqvytmmv2dUloS6YT7Ui4amEZ1s3ICXWyLIZynnRF7UT9Bsj yznjf4MoVenLMo5xn8TsAazmjRRrO6ZzC9YRS4wJlfPYaCtFpjMgXR4YUDwu3Knnpd3H djZP7aTOZbi3w8Uo1xXaavjhFaadwjA/5jqteEBNO2l1BBk3XuH/9wdamlCHnumKUzHc tDlsihHLTckF2kxLdLzs6C9pjAraDh96HcqMOY7QPYW0wD3ipslN9ZcCFG86W/e8PIwi Wfyg== 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 :arc-authentication-results; bh=YbS+aB9DLTOtv2dOnN5BIV32Xl0tqAg7BjeAsGST8+4=; b=KubhJeqGyNclujKoZl6AQDTXIn0O1kBZhO9gAGHiTMNBtWbbgoGEMTU0wuuilwz7sG TfbzVQIQ+K19XJDXnD27C05BCJXQevXiebxC3QY7NWueg3iKngoYVnuWuNI2ev8xX4DX oJUyGbTok9txiNabxH4rSJBsMcvQu6vQiBjhRnh7a/bYktJnaOLUEm+69O/klbWOot1q Eq+O0xapDQ+7+KTkpyxansQsnctglqLakYenfgC46bJmL5bdACilVWSk0Vw3CNRLh0xp zahacGmYyuoSWdislSghdZwO+PqpKjUv06In2eGDUF7qisrc/s4x8Y3KREU5XHVw+6Rf ZG0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fFZmUxAi; 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 d8-v6si15353794pgn.382.2018.07.13.01.12.18; Fri, 13 Jul 2018 01:12:33 -0700 (PDT) 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=fFZmUxAi; 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 S2387749AbeGMIZQ (ORCPT + 99 others); Fri, 13 Jul 2018 04:25:16 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:46808 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731885AbeGMIZQ (ORCPT ); Fri, 13 Jul 2018 04:25:16 -0400 Received: by mail-io0-f196.google.com with SMTP id i18-v6so14849854ioj.13 for ; Fri, 13 Jul 2018 01:11:44 -0700 (PDT) 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=YbS+aB9DLTOtv2dOnN5BIV32Xl0tqAg7BjeAsGST8+4=; b=fFZmUxAihsNiuTGWbeyEcQ3bz/fobVH1j04hf7ctLdm4S6Vjr2+wad6B8AZDFhZhcG pskV3jKlArBc1z4wyANfhd492HiO3urcrgaRHvOBHaSS4ABfhbXj3xoqZdb+lTekyUVk tC30WBNHcmt3SIBIMQk1jmO2WzIQM1CDLbl4c= 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=YbS+aB9DLTOtv2dOnN5BIV32Xl0tqAg7BjeAsGST8+4=; b=JRuJD9O3Ng/DQEUT/D5UnsRl6M3NifffLmUsm7H1l0i3Oj4y4wNPMwbPh5ILGNkL0A LJ0j/I9ifD3/05UL5CY7R0ZhD6X+BWoscsX+62ESamf327ajvTpqxA6nt7UOJjLHS+Fa RiRDTUKqpgC52W5sQoTeJ5bqllN5yYix3hPl7TKzQQosKc3S1J+WKgmMtCIUIsSysYzA Y0PzpZNXahgsteDryTMuCxXPkQVi33XD1ZB8dYS6mO5ag1ZyTwUh1kykSTPJDsnHbU2w kL62fhM0ArwIDxEQYOSUbt/mSSPy4Wj+5umADTy7kQJ7R4tQ5AMEqXq2N5wUy/iPGZyP FOEw== X-Gm-Message-State: AOUpUlEsoc4qz4afP3a1lmZTnx13+VMPbFfMhwqRdA28zilLo/FRWWom 6HxW2fCi46o7uevXDXQgagp9I8gumLgA/p1FxrqRLg== X-Received: by 2002:a6b:c3c4:: with SMTP id t187-v6mr29434505iof.304.1531469503817; Fri, 13 Jul 2018 01:11:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Fri, 13 Jul 2018 10:11:31 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: mt7622: fix probe fail by misuse the selector To: Sean Wang , ext Tony Lindgren Cc: "moderated list:ARM/Mediatek SoC support" , Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Kevin Hilman 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 Thu, Jul 12, 2018 at 7:50 AM wrote: > From: Sean Wang > > After the commit acf137951367 ("pinctrl: core: Return selector to the > pinctrl driver") and the commit 47f1242d19c3 ("pinctrl: pinmux: Return > selector to the pinctrl driver"), it's necessary to add the fixes > needed for the pin controller drivers to use the appropriate returned > selector for a negative error number returned in case of the fail at > these functions. Otherwise, the driver would have a failed probe and > that causes boot message cannot correctly output and devices fail > to acquire their own pins. > > Cc: Kevin Hilman > Fixes: acf137951367 ("pinctrl: core: Return selector to the pinctrl driver") > Fixes: 47f1242d19c3 ("pinctrl: pinmux: Return selector to the pinctrl driver") > Signed-off-by: Sean Wang Applied on top of Tony's patches on the fixes branch. Now there are fixes piling on top of fixes and I am starting to feel insecure of pushing this to v4.18 and I feel like letting these fixes go to v4.19 (it can be picked to stable from there). Tony: do you think there could be more fallout like this? Yours, Linus Walleij