Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1448046ybl; Fri, 16 Aug 2019 15:30:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTp0DIwvsC2RASZStpu1qjkAvxcUP80cVmfhOvOwpzAKMA/L7+daTaGH7gVm33xcBqWve5 X-Received: by 2002:a17:902:9889:: with SMTP id s9mr11617271plp.100.1565994633294; Fri, 16 Aug 2019 15:30:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565994633; cv=none; d=google.com; s=arc-20160816; b=o2rt06P/cdrOpTp7/KkS7mVIPbILSn5SkZubSmhOKcJDCHRZqSSxtuKRS6wzCgyb/r SnqD0RfggMHl5YIJd17Y6RwRrxe6gJn3nth2pmcpQ9OaZJEzQYf9iLO8c+25C1xX6wZU i6J4h8Ao5q+2TVVOc0x4AsBEoh8M1rA9RlGaNVII9mBz/8jbX7KCrifTzmZauVFXlgQG Vhv1I9zOd9TdxMiAZkvA2fxB/zqXVixEtRLH1u5VllncgY3Rp9FooxKq78MaXVozZXlw A1Ws4Z8vzuUneFqfp9EW5lX627Oo9UQ3Lb1qWvrtasv9b06lI7hwbHzc9//K/zMHx9gq mWvw== 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=UcIQ8f7uiCgBRDYQZgvf9BdkFXQfiqi4Jnab8kvYofM=; b=Rht8WvQIDIzOE69qN7NJK8wr4qq2L0k0x7j2czmHfmtf4sg3X4GoWpOlDn97muMhrz ktA2X9F07IP69KT+7lTNQX9FJhZNZs+f4M9vSQ/qPtCOnEn7032dHMWw30lphbtAAV2U UnqqbUPQbZqmuv5O/fWSrJHBEsKqIcZ1KzG3Pfs03/rmBn9DIjChdvA6aIifgFsicey0 GLTuUixihqn03yqjEV6vsKtTyjH8LmUoW7K98lDS660ge+r97KXZzWKGeqRyMQusz4TK lHfqpta7VxrhWZQda2vRfSl6yxL0wbJXUepUL0r+WsamaJjeR2GK4x0exSWT5l4nyZ7i 9HJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DDD0IAvt; 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 v31si4837984plg.339.2019.08.16.15.30.17; Fri, 16 Aug 2019 15:30: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=DDD0IAvt; 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 S1727835AbfHPW32 (ORCPT + 99 others); Fri, 16 Aug 2019 18:29:28 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46826 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727803AbfHPW32 (ORCPT ); Fri, 16 Aug 2019 18:29:28 -0400 Received: by mail-lj1-f194.google.com with SMTP id f9so6562998ljc.13 for ; Fri, 16 Aug 2019 15:29:27 -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=UcIQ8f7uiCgBRDYQZgvf9BdkFXQfiqi4Jnab8kvYofM=; b=DDD0IAvtj0S3l02ltQU8EpNBnZXa/LPDRrS4ggAiitlDhWaKUUJDCnxA9iSvTLf+N9 JZWiD52Bcwo2O1maT+VX7N3rDWG8fv9AAnOB7/f/1WWnGc/YMMnbRqLO9qyo/efPOZS/ Vxx/aIR67dEPcfQpYYXixqhhM2QH0AZsUyogKTjNIBdasiZlwTXiIuexbtky0AZxHq1T 3xYzXlFudhl39/1Zhd13U4fFewgwdGqBUSj1kW090KxlTnaKJ+VLSIzpIwgSbpiVNCJI TdAtYozC06bsrgLh4jUhwGe7flg7gHfJOcuhikauTII5mO35xtcuLhNYkNBH3dVA5HrL rYFQ== 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=UcIQ8f7uiCgBRDYQZgvf9BdkFXQfiqi4Jnab8kvYofM=; b=MCiMoP3pKMQlOUl2bKVevbc8HNxp+ae6EVSPvXobSnRXs23ygwNYxkcG2RzPeHSJ7G yqYo8PuXq2ItydoKwKvqt2SfMKLhmGkrZN/gk7W+DPtqXJWqbctmovAifVaL4QxNHaf8 yXRD5zb0+myJz0M3g39IgpYlwFA4G361RX0gadZSqDu462uv5Y3pyNjwxIpb1ZYeY4Vg HWdAiLtP8/Cn3Gph7er5Avvs32871ajmZTdGycTgD/cvFOBLAaeV4nKBMOPqRmZfFabX SiLvodDFurXpSbe476KR84Bzeoeaa9tBM/d92FjE450UU/fr5XV8abtsiH7Tpl4yPxvE bXWw== X-Gm-Message-State: APjAAAU+xqf6E1xfQO6/OiqKQ1O/5s+i/Rg+lMAa8PNUZGrcqR4wtfFt WKo0s57ZGLKbcRyjMMc7bqA9ciXP2lt3Q0LvJbpcbA== X-Received: by 2002:a2e:80da:: with SMTP id r26mr4644548ljg.62.1565994566351; Fri, 16 Aug 2019 15:29:26 -0700 (PDT) MIME-Version: 1.0 References: <20190816165000.32334-1-andreas@kemnade.info> In-Reply-To: <20190816165000.32334-1-andreas@kemnade.info> From: Linus Walleij Date: Sat, 17 Aug 2019 00:29:14 +0200 Message-ID: Subject: Re: [PATCH] gpio: of: fix Freescale SPI CS quirk handling To: Andreas Kemnade Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Discussions about the Letux Kernel , linux-spi , "H . Nikolaus Schaller" 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, Aug 16, 2019 at 6:50 PM Andreas Kemnade wrote: > On the gta04 we see: > spi_gpio: probe of spi_lcd failed with error -2 > > The quirk introduced in > commit e3023bf80639 ("gpio: of: Handle the Freescale SPI CS") > can also be triggered by a temporary -EPROBE_DEFER and > so "convert" it to a hard -ENOENT. > > Disable that conversion by checking for -EPROBE_DEFER. > > Fixes: e3023bf80639 ("gpio: of: Handle the Freescale SPI CS") > Suggested-by: H. Nikolaus Schaller > Signed-off-by: Andreas Kemnade Good catch! Patch applied for fixes. Yours, Linus Walleij