Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4418942imc; Mon, 25 Feb 2019 04:44:22 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia6de28lPxv35mg4+vrEl68/HD4nLhx8kzAa2VqXLi6aQjC7W4/YxylTISrf710omIOZbPi X-Received: by 2002:a65:438a:: with SMTP id m10mr6437982pgp.191.1551098662258; Mon, 25 Feb 2019 04:44:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551098662; cv=none; d=google.com; s=arc-20160816; b=UZQOEIZUIVA+GBEXr2t1ID9TsG/ZZbLXKHrl8mn5j4oyeWZ4rnT3dteySv+yycbNTG 1GRD+yKgJBgx6+6zPM6H5v37uy5VAQyprMcqlLvf2NblgaMCgC7QaRaeKNDBQQ0D6L8e HG3EC+OxYgwA0nIENfcvFPw34rmmuzQyYWEfdK85mObi1WSmppdbCSqjaTk1QN+Z6ToH hWBUb1Iq/2qtOtMD3KJ/jEIdApvWfkqPpfHkVq04w68AlxP/USOpzZwOzL5TJGVV9KSG mrZ71qZtbTDa8dA380Fw1cMSXuxWroWtaGYyVPNS0SAc4a8ieInLY8lEXTYrlb4ef1ag LlKQ== 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=NVW7OFD5R6YBZ5gSu3no36vWuxWNNKm4zh4xPKQSso4=; b=mPt3SbVfN5MJJXshhiUtThU6BD6BRKICQ1B5g1DkXEIITwv8gpmMdOgv3o3SnmClbm bwsPSKfPl7i2MhfA8ky4m+kdvaV/Cg+BXRCL3OAZby020cl9zO8lgnsobi+eBUAIwjn9 5mxfrBRgqa1ThBc+EtPrIaHlzCEvCIgVHqxxWZzPZb8XgFC66GeIZU2tCJuc1y//7wut NWKmJlkD5rDfxD8nQoS8yZNOiM6ltxMKobrP+gHiXBYNHc13cHW7Yfo/+/8fhd1q6fwN 6xaXDzSx9giW6uoPKWE8ELpRE7vFReWpmMcC4suxEf5XWGU2PNEPJM9wecW4UUuy0vHd VWgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gpQRfdvh; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w190si9116863pgd.105.2019.02.25.04.44.06; Mon, 25 Feb 2019 04:44:22 -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=gpQRfdvh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726979AbfBYMnr (ORCPT + 99 others); Mon, 25 Feb 2019 07:43:47 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:36721 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726856AbfBYMnq (ORCPT ); Mon, 25 Feb 2019 07:43:46 -0500 Received: by mail-qt1-f193.google.com with SMTP id p25so10233299qtb.3 for ; Mon, 25 Feb 2019 04:43:46 -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=NVW7OFD5R6YBZ5gSu3no36vWuxWNNKm4zh4xPKQSso4=; b=gpQRfdvh0idkWzvi5S7qS7PiO1lYjDKnFyOBrKl2fslQcqxiTgwCURCqetwbGj9Sew SVE3sKlQkljGiPTYvXLL0vTp0AXo89KOz02pQfTtObLo7z1/1tMye+Gwjydejqw50vKY WHPpN21xy3z/9TJzFcdhg6dJLd1CsPSg8HSxqg4wTiCnBfVd0/I18L4rAj5VbgRQm5eJ aSVTHhX/nzdC17J9grKkm4Da741QQa+kdOSh7D1gKpP0piTp4hx0jKRYgQM1ktG/T/o2 IW48uE6hCuVM9km6y+C0qFpUdl6YL/NggU4HcgedYipJJMf1jwK0Ol8+OkEJB2tcKekU 4Z8w== 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=NVW7OFD5R6YBZ5gSu3no36vWuxWNNKm4zh4xPKQSso4=; b=obdN5eQ8AoQd94LCYkzsvTEES/D6VRzHdRtmNngaY++hqxMcny3wCDGgy09tZiqCdX kwbMehiA7Bhv1ZQU6ujouNdsmAvORgp87q/bc1USDSEO0Z5m576MQQIUXcR/ySMtBLIU vMqUJCCmNpO/KLWIf5wbaxuNsHxWxm0zmiTqh2xxOpSKDFSyOt9B7dtAdW+VxJMpNeDX 2QJJOAa32tJSCiK5GDHJGsAUZPuSfKghkpTcPdoTs+0QqVAi4Nyn6kSjMLHmkHxdjPBU tfAx8xe4XoKu8jvKB9r7WFGP8Lh7QF6nraPHBnVNL27gXi7ggXiH/Vh9Abq6weqTZhN3 pS4Q== X-Gm-Message-State: AHQUAuYMvdNMC2NOJpZmIRPC8cC27Ch3VCgXVl9CQ/Sx3gYKYfNHmwcD Es0Qo/sMWOcKGZav6z4J8iifTBawU5u4HTH/IElncg== X-Received: by 2002:ac8:2de4:: with SMTP id q33mr13246389qta.358.1551098625792; Mon, 25 Feb 2019 04:43:45 -0800 (PST) MIME-Version: 1.0 References: <1550891629-29004-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1550891629-29004-1-git-send-email-Anson.Huang@nxp.com> From: Linus Walleij Date: Mon, 25 Feb 2019 13:43:32 +0100 Message-ID: Subject: Re: [PATCH] gpio: mxc: add check to return defer probe if clock tree NOT ready To: Anson Huang Cc: "bgolaszewski@baylibre.com" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx 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 Sat, Feb 23, 2019 at 4:18 AM Anson Huang wrote: > On i.MX8MQ platform, clock driver uses platform driver > model and it is probed after GPIO driver, so when GPIO > driver fails to get clock, it should check the error type > to decide whether to return defer probe or just ignore > the clock operation. > > Fixes: 2808801aab8a ("gpio: mxc: add clock operation") > Signed-off-by: Anson Huang Patch applied. Yours, Linus Walleij