Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp718018imm; Fri, 29 Jun 2018 05:21:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd263fnBobsEcSUJ69AAtDHPEiP4gJulqyIzZ9oPU+M9oC6Ey09HcEmaPYxNf15dedP/Kbi X-Received: by 2002:a62:820a:: with SMTP id w10-v6mr14009010pfd.71.1530274898269; Fri, 29 Jun 2018 05:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530274898; cv=none; d=google.com; s=arc-20160816; b=sX/8s9Q4D49e+fVVk9PIFQVuJzQiGimC3e0Eo8DE9KMWkIFKhX8gbUdxMmkmJKHo4n Pa64nvjxf3SwgE4GuKj+V3hwKz9wAwDB5J6oD4mVWFL9BjqpfMFiUvWqUp0tmELIakOo ZgDLAwnWfQ1BUeDP/u+7CtWxCzeu08wY2zum2S0uXha+m6ic042mGotFyhAT6qWo89Qf mkbWcjO8g8R33X2K9dE95RrpEOkE4pyPmFKoF1hDVDBauoLPG3aNjGwPDFNGOpcuD7z6 1kATPPlE8CimUBWn4W7FEWn2nn1Mhg7FH7zoUbwxuKZHEtHr4NYwMbLnjZLsq4v91gd6 CNig== 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=UgOaALOJ9DqY2Q5vSGR0Vlu1QXzJ0yCa8ve2G93ZTwI=; b=wUTsTTJAzFNYFODXOfPYgZQSd/kYYWhlrFhtQ8k+Qx7a1tWM66El2mxDGi3Hk8GKR5 xpcyo41z34dmk0ibGiH4IRZQPGkGjpZTyOvNXfEy7RvRgWJ8Cxb3p+Yyer+C57/7RLm2 l4J7WsfOVh/QYJNXQd1li++XZYEVT8HFh5D1i2vuWF0yZk1q7yDtVrsV0bq3Zyd4tuvu jUmFlECYA60AkUn0TpqsIXSgCgKnXhyj3HU95sSYThi6U6lXIlYWhRG5Jp2Sg3T2sDvm m8XPrk8vfox6EVYoM6GciUVR17B5Z7lg2kQ5f7V2tog+3RF/0HN5gCRHoz4pIXhRN/jj 7+yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PhOg97PR; 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 c2-v6si7714172pgp.134.2018.06.29.05.21.23; Fri, 29 Jun 2018 05:21:38 -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=PhOg97PR; 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 S1755403AbeF2MTu (ORCPT + 99 others); Fri, 29 Jun 2018 08:19:50 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:34608 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755318AbeF2MTr (ORCPT ); Fri, 29 Jun 2018 08:19:47 -0400 Received: by mail-io0-f194.google.com with SMTP id e15-v6so8283861iog.1 for ; Fri, 29 Jun 2018 05:19:47 -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=UgOaALOJ9DqY2Q5vSGR0Vlu1QXzJ0yCa8ve2G93ZTwI=; b=PhOg97PR8PlkkNLU2kwPHoPKbU5shtGMnKeswqvfYV5RXcBfICncNjDqNJRTBOkaGJ U/XpykN/wp4ZGPXcBTjpr3lz3cnkXCluUMBrn+vOOwg6bKEzKDVztsm6l8UGVIqZo4Ov 1wzlETIfU4L3z9HBA1mdGNu76MvgVhnbF1jzI= 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=UgOaALOJ9DqY2Q5vSGR0Vlu1QXzJ0yCa8ve2G93ZTwI=; b=oLowG6+YnE9yhVA6XXe7iVeDBN2/SEqwywHE3XbJ5XVkkr3ZXGPxrp6vj6cA5B/drk n3PWTBeWdkLTbnRij2X4yq+lva7hZoIQBUKy2fP1Wgu7/ShHW8bqX9nvNYSXjC+Mv0VO I8WEsL09Mkrv2uHhFyhiDOPrBUmTSl0FcBjuJRerOQBQ3YOyHRz/0UZjIB81pcXgwVKL eX+AMYm4Fy/DkrNzaCzSI48LgnzMov48N6/2c/kQST+EtnaT4zrXkT86Y2UcTogDN3rc UUdXhNL8n/kqEnC+imUPya909vLZ4r7U4UMTfo1uFQaJEAe4WLHtsSihSa1ZtLZhWXbF H2xw== X-Gm-Message-State: APt69E3EnPzsg45itZvAnHG7uq1xYZGq5KdJjnkc/7O310QTA+Npn6Ju Z9BbYV7x1Pm8sEIfrSgC2AkAAA1rP3aGkQ32KNYsIA== X-Received: by 2002:a6b:4a15:: with SMTP id w21-v6mr11068827iob.277.1530274787308; Fri, 29 Jun 2018 05:19:47 -0700 (PDT) MIME-Version: 1.0 References: <3b1fa378e0a83a5f39497fe8efaf4c992507ed5d.1529639050.git.sean.wang@mediatek.com> In-Reply-To: <3b1fa378e0a83a5f39497fe8efaf4c992507ed5d.1529639050.git.sean.wang@mediatek.com> From: Linus Walleij Date: Fri, 29 Jun 2018 14:19:36 +0200 Message-ID: Subject: Re: [PATCH 3/7] pinctrl: mt7622: fix that pinctrl_claim_hogs cannot work To: Sean Wang Cc: "moderated list:ARM/Mediatek SoC support" , Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , stable 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, Jun 22, 2018 at 5:49 AM wrote: > From: Sean Wang > > To allow claiming hogs by pinctrl, we cannot enable pinctrl until all > groups and functions are being added done. Also, it's necessary that > the corresponding gpiochip is being added when the pinctrl device is > enabled. > > Cc: stable@vger.kernel.org > Fixes: d6ed93551320 ("pinctrl: mediatek: add pinctrl driver for MT7622 SoC") > Signed-off-by: Sean Wang Patch applied for fixes. Yours, Linus Walleij