Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3527668ybl; Tue, 21 Jan 2020 02:25:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxTkVE2gkpIVPKQTH1qQGe4rw0SL96M9briqYXFWsLxsStRHSQyiAE2UaNzeC74EsCh96wp X-Received: by 2002:a9d:6f0a:: with SMTP id n10mr3131283otq.54.1579602340902; Tue, 21 Jan 2020 02:25:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579602340; cv=none; d=google.com; s=arc-20160816; b=aykqC8S8R10ebCXPbG71lRYBxD4HYMYrY0KCMSNBF06gDtrvfltCPbj15obRHWBqSi uvmWpqdUWwcu6dFvvb8WJfUzHGRYFZXthVqlcgjZwzfNcCfsXc4HD0PSVaTvoK6WsVuM u8+WHyPWYRdTuPfVGSlC/h9ASK1GiWcYLqUm3mIhfpYfEyA8EEY7gmCxUDYA2HGgcPQ1 iO+2q40Z4k96cvOTXYfj17Rb127ixwwJAKQPWq0mtnYWRliBnfSW8eSiSNLrIrQ9+zsB iZ6BA9AtjvfG3YiVIKu0GSdwyRn9O17SzbfqhQ6vZfhXP/RmSXBlYtKeo1ygCb+S4rGp 4TRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:to :from:dkim-signature; bh=pI7AA/Y71uPaqPIJ2pPaaj7cAY0VgViFKDQM2Xpcc1k=; b=S4DkxucltVLZl5bOCWLsS+LZ8SOWUTstURGLqja2sXcThHYGL0ZKt6aFmcqrATW6VT WPNx1js4X1hr9DDm7gYCT+AZNwTPImZSfbu0NAXVDyfSEnV3JLZfyI62DyQ9yszYcZda zVbjKKLE0TqF4bLHjhutdGKyMAxPYwy4ICW8KttAV/bedbka+qeF9GV1q8ihk6vQBGEM UpxqB/4bkb3UW5bAKg1VGemUE5RHLfAofjAKCIHLUf9tbFKoqFGo2PyCi5f4cU/40yuP fa0urUxGTJtsZ5hICIPg+KqdU4wv9bp78fn5r4fziGAyAS8whdjICKEX4n6H82dAUUGw ONMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=CiUaDZU4; 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=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si19188553oia.236.2020.01.21.02.25.28; Tue, 21 Jan 2020 02:25:40 -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=@st.com header.s=STMicroelectronics header.b=CiUaDZU4; 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=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729625AbgAUKYT (ORCPT + 99 others); Tue, 21 Jan 2020 05:24:19 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:60266 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729351AbgAUKYR (ORCPT ); Tue, 21 Jan 2020 05:24:17 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00LANZwU018454; Tue, 21 Jan 2020 11:24:08 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=pI7AA/Y71uPaqPIJ2pPaaj7cAY0VgViFKDQM2Xpcc1k=; b=CiUaDZU4k7zp94wz705BhuSlfRLEp2QM2zhKnKrTogvJGrh5BkF0g98tcECrCnUQoKXg n+a38j1ooP1+JMOXMq+DMH3BCRWBP/pqO8dYvr7Sf0t/FFhJHa8tShfgWTiiSrqs6K8e XfDJa33JAH+DlNRBwgxCCLuGvMiYllHevBVHWTDHJn7jxuy9oPwvkmEck84VsD77WFpZ wcB0ftzbWvbQ+QL8z826tsOlXDP0NOr2NvjSrIwyXBvsfquG1H8p2auONvgLYupu6S+0 g4mmzqCdf9bx4n0cKpz0BjhIeMT415jkJDXYRauDNUee4SCXNJBdUsJZMsiAX9KrOlEZ Mg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2xkssnwsjp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jan 2020 11:24:08 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C8F7D10003D; Tue, 21 Jan 2020 11:24:06 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id BA1F52B1874; Tue, 21 Jan 2020 11:24:06 +0100 (CET) Received: from localhost (10.75.127.47) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 21 Jan 2020 11:24:06 +0100 From: Yannick Fertre To: Yannick Fertre , Philippe Cornu , Benjamin Gaignard , David Airlie , Daniel Vetter , Maxime Coquelin , Alexandre Torgue , , , , Subject: [PATCH] drm/stm: dsi: stm mipi dsi doesn't print error on probe deferral Date: Tue, 21 Jan 2020 11:24:05 +0100 Message-ID: <1579602245-7577-1-git-send-email-yannick.fertre@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG3NODE1.st.com (10.75.127.7) To SFHDAG6NODE1.st.com (10.75.127.16) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-21_02:2020-01-21,2020-01-21 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Etienne Carriere Change DSI driver to not print an error trace when probe is deferred for a clock resource. Signed-off-by: Etienne Carriere --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c index 4b16563..2e1f266 100644 --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c +++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c @@ -377,7 +377,9 @@ static int dw_mipi_dsi_stm_probe(struct platform_device *pdev) dsi->pllref_clk = devm_clk_get(dev, "ref"); if (IS_ERR(dsi->pllref_clk)) { ret = PTR_ERR(dsi->pllref_clk); - DRM_ERROR("Unable to get pll reference clock: %d\n", ret); + if (ret != -EPROBE_DEFER) + DRM_ERROR("Unable to get pll reference clock: %d\n", + ret); goto err_clk_get; } -- 2.7.4