Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2171565lqa; Tue, 30 Apr 2024 09:53:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAYLh1JjK+WGfamoUSWjVIWGh2rLosii6KSPeNAqqFTD7vhjDFQoGjTCBcoxgat/z43anq+6rh/igU6GAbB06Qr4uyPszBgQI6i1HlMg== X-Google-Smtp-Source: AGHT+IGwhjeWu+wg2kTskib26VYdf2FpdLj/PUjV9DyCOTsJQ5/OYTTxNhn2EwTEYFYZ8AgY5M1g X-Received: by 2002:a17:902:784f:b0:1e3:e380:8724 with SMTP id e15-20020a170902784f00b001e3e3808724mr14140693pln.48.1714495992104; Tue, 30 Apr 2024 09:53:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714495992; cv=pass; d=google.com; s=arc-20160816; b=hAoMhzuQ62A7qCQZ993HU7Hj/MnQ4ggE+LueMDvJNjbycbo14oCyNhVNzcDYPvcxL4 ktEV+Rg0t75be/mxIv5YWKwiPSv5Hy4x8Erj1mSa2aFo+g2a8JAV5a7oraRAk5gkX/uD rnWAT8kvpJ4lVADlRkLQX1BrD0/vbcw0cgwBRHuXnKIX4q4GwvhnRjYFnrmL1XjKHpcw 6fvKA+HNr6pdE09EXOPjOuaKmj9PSAbw3QTaMWRqV8oFKsIu2L9B7HBKHuSDcX9g9bHv b89ojsV3M0Sv/CGRQ+KvbZbGUbY3wSpQk1qQyKF13/wNQMpIjDb1XWepBdG1VMfClEXw byHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=lFJZeubY0pH8XJB+NDsWHv5pVnm39sgZ/JqOBa9DJ8o=; fh=+pR9fnD0lJgtapm6ta84bAQOhLVJbC64Vsabv/eLTog=; b=i8rS1B1GjfYJlKQMZnrnFktMt9VpHEu5ke9dDXlismasdgSkw4Q/Ctsg5DFdUfVcFe j6rQJAScbTQdj7iDbmPaO6pAPRzA8x9rpzaGe0nBxE3wr4RJ7gWP+ybl1f/9g3J5gWWf qtxhkkwVhd31WdGhtUoro1eENwce5MghTz7b0uXEM2ljSnc4jOOe/02okx2//J5Toke0 Od/ZUtHPUcBmPxJDVt5yhbtpFuvsC1T4RPta1bgNp8ZsJYlOoeigr2odVD+nMiY6jJg7 KZrbdHlfRkm+oBTmvcFH0IynrfvgFj9G6YKbjF6aFlzlxnkgeQICHTbNCMOOhG0T0b9y wTGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=SjRUCGc6; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-164427-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164427-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q12-20020a170902dacc00b001e2624072dfsi23140734plx.616.2024.04.30.09.53.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164427-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=SjRUCGc6; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-164427-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164427-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CC8D3280EC8 for ; Tue, 30 Apr 2024 16:50:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55BB017A939; Tue, 30 Apr 2024 16:50:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="SjRUCGc6" Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A0F041C89 for ; Tue, 30 Apr 2024 16:50:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495832; cv=none; b=Ibs0MKRTLLnM6F+u2mYf8GDfkziBGvJqIScYBmpF+CaG7PUYSyQz4RDB+41yILXGy9Ue6RkaK+RhELew9XqbK2h/feSr5BY9qA6ATVuxNmZAAlv1lcxiUG4xXh44a42+UNXhvPko2G14OicvkpNvPsT3YHU44Dw1e75wpL+GHl8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495832; c=relaxed/simple; bh=fPGBRAa9PRhY++IOfBaDFzp2Jm7p85+AAVua+geoEOc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=R0bGuXS1TZV5gJhcDqNU0NP2u1bs0Jj3vyRokuuCVnZtk4v5GH7FRWtLWeWBJYJlB1LK06Or9Mu/1EdFHhuFfFicnyy/vVNR5jG31o/popDmb+hW9B0iCP84w9mOuXD4yBD4I1GDFgOeCqKHzUG8JUEKSKNzeSUvtWjXq44jcH8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=SjRUCGc6; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: <54be9c58-3e14-42c1-8fe4-4b03b630d1ac@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714495828; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lFJZeubY0pH8XJB+NDsWHv5pVnm39sgZ/JqOBa9DJ8o=; b=SjRUCGc6H5+LA2XHJrXgHFE0vv/DjJUP0keVPI9OKuB6DqHmWMChS69yqn7wJmwcfxxuWN RQLJeBrsglP16SZJGsHEZSf+SmhZ63a2k4/kqu86Uafki6vsXRg+uRClV22PRQiZtI7wLd jDVP8x2s8YvWFmuREo1yInmy7J9Pgjo= Date: Wed, 1 May 2024 00:50:20 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [v1,2/3] drm/panel: ili9341: Respect deferred probe To: Andy Shevchenko , Neil Armstrong , Randy Dunlap , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter References: <20240425142706.2440113-3-andriy.shevchenko@linux.intel.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sui Jingfeng In-Reply-To: <20240425142706.2440113-3-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Hi, On 2024/4/25 22:26, Andy Shevchenko wrote: > GPIO controller might not be available when driver is being probed. > There are plenty of reasons why, one of which is deferred probe. > > Since GPIOs are optional, return any error code we got to the upper > layer, including deferred probe. With that in mind, use dev_err_probe() > in order to avoid spamming the logs. > > Fixes: 5a04227326b0 ("drm/panel: Add ilitek ili9341 panel driver") > Signed-off-by: Andy Shevchenko > Reviewed-by: Neil Armstrong Reviewed-by: Sui Jingfeng -- Best regards, Sui