Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp436455img; Thu, 21 Mar 2019 01:07:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDY+0W5F+uNUrG2UANrE38wYrkhZIdWfdd1uzYdbf0b6JehZqTJ5164a9cbnB5j65uu+x0 X-Received: by 2002:a65:4385:: with SMTP id m5mr2102966pgp.406.1553155652865; Thu, 21 Mar 2019 01:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553155652; cv=none; d=google.com; s=arc-20160816; b=h6B9irmfAyouV2VXWwaWgNznPsav9/SNlhxQrYMmCgMWu2QGg9+1cfn4rh0Q4HAPMi 400SIcdETdbqIFB8dT+r/7SZfQBVL47aShwa463x4n2XlnTuw8We19fPJSXTd79AwGIn WSVG40xSJJmiVV7gcZW7BPRfbLfGLUu/tCGm3xlakRJlSrQjC/hejvmTchSCSCXtk06u /X7npafJEASe7ynkm5Ri5+8CEsNgTbN6bYGh+Dz6oIsMljrXSn8Qn+7NwJU7hUjN786G 5xiwn7o9sxsPRcgOCDbroePp2rDcbNFG4wCijYF/aLdW4+Gxis6zMsTTXcribhEXMpcb Lahg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=+dLJ8K4mKzGGFd3O9vqNRZmP5csu3e86Eb1DJRwAzcY=; b=NpjlIU8J2c5kzTiSwi6+rd6MuWi7Rn+OHGfRbrNMyGXYRHqnpPT0xahrD7OMG6DDOB SaFJAEI4CK2Yvloem1Bpl2HGVPHDglMsYJVDyr9A8G6AZUJjShw8roTp7jwSTN0eDy6F b/KH5vmLIFfJNpn4iC4PxhhUmLnV65WlnHEVAQt9Tl8kAXDX8gB8CSjhWUJhk/T+SmM2 /k1++QIMneEv6RgXEORqVPzQhyJbPaIZygqPat0Vha3d2DHyZVmhK/BEs/J60hpXmX4a PakxCMzlzwNu5yzvpYVeZZGFAgCZJfeAq0dyaQgh/yy1V9LtTa2/UkOIxc+Vr+0FaIPb lZZg== ARC-Authentication-Results: i=1; mx.google.com; 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 c3si3706864pfa.8.2019.03.21.01.07.16; Thu, 21 Mar 2019 01:07:32 -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; 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 S1727977AbfCUIF4 (ORCPT + 99 others); Thu, 21 Mar 2019 04:05:56 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:34456 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726523AbfCUIF4 (ORCPT ); Thu, 21 Mar 2019 04:05:56 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2L81EHE010862; Thu, 21 Mar 2019 09:05:49 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2r8qsxv22e-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 21 Mar 2019 09:05:48 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C59C743; Thu, 21 Mar 2019 08:05:39 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AB8D0249A; Thu, 21 Mar 2019 08:05:39 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.47) by SAFEX1HUBCAS21.st.com (10.75.90.44) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 21 Mar 2019 09:05:39 +0100 Received: from localhost (10.201.23.97) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.435.0; Thu, 21 Mar 2019 09:05:38 +0100 From: =?UTF-8?q?Yannick=20Fertr=C3=A9?= To: Yannick Fertre , Philippe Cornu , Thierry Reding , "David Airlie" , Daniel Vetter , , , Subject: [PATCH] drm/panel: rm68200: no error msg if probe deferred Date: Thu, 21 Mar 2019 09:05:35 +0100 Message-ID: <1553155535-13555-1-git-send-email-yannick.fertre@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.201.23.97] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-21_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Do not print an error message if the regulator framework returns EPROBE_DEFER. Signed-off-by: Yannick Fertré --- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-raydium-rm68200.c b/drivers/gpu/drm/panel/panel-raydium-rm68200.c index 7759353..1418682 100644 --- a/drivers/gpu/drm/panel/panel-raydium-rm68200.c +++ b/drivers/gpu/drm/panel/panel-raydium-rm68200.c @@ -383,7 +383,8 @@ static int rm68200_probe(struct mipi_dsi_device *dsi) ctx->supply = devm_regulator_get(dev, "power"); if (IS_ERR(ctx->supply)) { ret = PTR_ERR(ctx->supply); - dev_err(dev, "cannot get regulator: %d\n", ret); + if (ret != -EPROBE_DEFER) + dev_err(dev, "cannot get regulator: %d\n", ret); return ret; } -- 2.7.4