Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp435719img; Thu, 21 Mar 2019 01:06:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxB8KGYzOETQ8Dbglg5Oe2IZgnvE7mcQneiKHLsP5J8PDClbbEp0iriCNj8IGSIopDpz57f X-Received: by 2002:aa7:8c97:: with SMTP id p23mr2086056pfd.229.1553155582578; Thu, 21 Mar 2019 01:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553155582; cv=none; d=google.com; s=arc-20160816; b=Csp5eI3oeSkWA+9B+8QmeRoURMmN9nlSgZDt7EfF/tliWCtB3BHm2b3gBXzqso0epG qxItRXL+VSf1vqD6FnQDC09kd62Pm8rTnwUQFGzL3TR6pCslJsakeK/BCx7lpp94EZAs FD8+Hss0ZhC0+2GBv8I39fORi4hOVV93I+s2OzCavfz/ofPAwX4wUW2G/CHwqA740DSx 5eBpASxfklARdrAArpzVl09zpC1KWRfyBeFWq3xJDBTVQihqXPhbieVGIU+JGKK9p2dc 6DsyOuFKKlEVsj19yH2Xqrk29gvjdScshzyoZbGHjpcGEEIXNIfPG5pTdUetf+xpDl71 z/0A== 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=MSTVcF5J/cPWfWf+sWbVRYdbiMMQ/vq8qTsw/HX80f8=; b=emyEUei54N6DyV4+Q+gFQu8xiS8sJo8MByXJZqY5Bfn3+WtYoSOu3nHg3t3f4lDghn Qqq6K+m/nxY4imNQGNJJzP2LJZ/Q9pMg8xvbFQMr6tpgbUhkDWjuRagKDKzy68I1+qf0 I+6sC5CR80xCeE30b0+Lgz8SsZnV4u9pF5N9nubuqDlMoABmzisC694qyns5n38yiEsw Lx7Rs80fDuI6BWHWNsUShGYw/p0gyhXQpplWQGQ1kD6kUXJgcZT+wgzCQHZsgADE0aeo zMl8kCRe3+sUCVlSl3Ar3A2uxE3q2rFMKMS7zNNjnLlW+kZf2DVll4R0NoFW7ngoayvR wb9Q== 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 k7si3721973pfb.69.2019.03.21.01.06.07; Thu, 21 Mar 2019 01:06:22 -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 S1727953AbfCUIF0 (ORCPT + 99 others); Thu, 21 Mar 2019 04:05:26 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:57946 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726523AbfCUIF0 (ORCPT ); Thu, 21 Mar 2019 04:05:26 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2L830wE001715; Thu, 21 Mar 2019 09:05:20 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2r8rwkbxhe-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 21 Mar 2019 09:05:20 +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 D57854D; Thu, 21 Mar 2019 08:04:48 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id ACFC7248F; Thu, 21 Mar 2019 08:04:48 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.47) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.435.0; Thu, 21 Mar 2019 09:04:48 +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:04:47 +0100 From: =?UTF-8?q?Yannick=20Fertr=C3=A9?= To: Yannick Fertre , Philippe Cornu , Thierry Reding , "David Airlie" , Daniel Vetter , , , Subject: [PATCH] drm/panel: otm8009a: no error msg if probe deferred Date: Thu, 21 Mar 2019 09:04:44 +0100 Message-ID: <1553155484-13460-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-orisetech-otm8009a.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c index 87fa316..aa3db38 100644 --- a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c +++ b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c @@ -433,7 +433,8 @@ static int otm8009a_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, "failed to request regulator: %d\n", ret); + if (ret != -EPROBE_DEFER) + dev_err(dev, "failed to request regulator: %d\n", ret); return ret; } -- 2.7.4