Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1145473pxk; Fri, 18 Sep 2020 05:09:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZkHjeaMGgrHH9WnizirKzbon+Q6eBh1R9Io4NI53/bFhEHDwErG6D/HVoLh7yOKH7rdaa X-Received: by 2002:a17:906:e18:: with SMTP id l24mr35672264eji.334.1600430966836; Fri, 18 Sep 2020 05:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600430966; cv=none; d=google.com; s=arc-20160816; b=vsz8/Eg3vqiNHbLN3LzKKsqq0LMIA2vZMj0VMNSW6xZH1lhvFov30whXRlYdYLmqt7 lQb0m+FQidJqbvj3CM+TzBZoXLXaotrfWMnRi7v0dJVw6+RH2z+1JOUq4VsnQi9qCSYZ qXXOpRA0MhImEZnkd/XNPHeydYocKQsVuDPAAQptYuLRgR+gWzI9gNBPhlvFvlB5ytxW 34dy7jM2gmKtUeUWrUWit+Q5W/QsqhcDcTIK9fPfoRx+OujHYZfq8eB1d8Dw7RK/5OGd g0zUt4NO90c7CFacR4OmXwJWwdgP8con/pLOZWNUs581H9sLAq0pqiD3cK2SMc3Hn+/b 3XDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from :dkim-signature; bh=Yty8bNk5BZ6QpkJD9qLB6NIpkLKJoSR9prLWJoW10U4=; b=rrpyxpRvZix0ytFHU15h3OJbc4C5DtO4wSO7GTfAZcduRaC+6++G9xHCgM5SwbIlD9 UQJEP0pLnw0EXx2iLl2WpuNCbD/bSh9eBENbDhC3LUI3kwKWEODzKOcngQbv5lTDMSyh 8BPfqyD4giUmXbUP1YZs3k6TnCNmANYrVQAMuPuirqupoOx9TWOKP/rndi6gQOhLSn/3 AMGa5SzJBFFuYAhAuozQkwrFWoc99zvEwuZPvqX0NKZd66qa3mSe5FKj4c/dIrB5IwIZ uEG9ZptdAVz3WTQdTRAN7NYjHhc4Fg5W2wUvJrfGnneOCHT5c+E5oXzCyt0WMaqQ9aKl JI3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=LuvK0lpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id r1si1924714eja.274.2020.09.18.05.09.04; Fri, 18 Sep 2020 05:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=LuvK0lpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726368AbgIRMHs (ORCPT + 99 others); Fri, 18 Sep 2020 08:07:48 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:51704 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726154AbgIRMHs (ORCPT ); Fri, 18 Sep 2020 08:07:48 -0400 X-Greylist: delayed 1257 seconds by postgrey-1.27 at vger.kernel.org; Fri, 18 Sep 2020 08:07:46 EDT 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 08IBapG6026037; Fri, 18 Sep 2020 13:46:38 +0200 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=Yty8bNk5BZ6QpkJD9qLB6NIpkLKJoSR9prLWJoW10U4=; b=LuvK0lpVTZ4TJpPKv4c3oCx9pNNOfW9SJCdgw0v3nTYhxDtKu782CBDOKG3MK4k9EMVI HiCzLs9vz0kGUODaL994RvTtbUV6hUGqLk5hFBgqIwOvjNUpOjrUlBet0r7S4iRDfv6J i2zNKl6wqzLxrIEbxbYPhKs4e6fD19ZZ1ELg4C74nKgq6fvHLBYcxwD5n2zPjUypKoIo 7SotLBjsGRLWLW8lxDXnayezAGer0vPJ4Ov4H7KuSCluiCu8IONhnfsH33qyuOoJHrAY EN/PoMZtFVNox5ybavL4HXBVshoBRBAfCkhiU59wmgUxoLrS9lv68jyFfE9o9SaHUSeC zw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 33k67a0re1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Sep 2020 13:46:38 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4F1B810002A; Fri, 18 Sep 2020 13:46:36 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 259392B4D32; Fri, 18 Sep 2020 13:46:36 +0200 (CEST) Received: from localhost (10.75.127.45) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 18 Sep 2020 13:46:35 +0200 From: Yannick Fertre To: Yannick Fertre , Philippe Cornu , Antonio Borneo , "Vincent Abriou" , David Airlie , "Daniel Vetter" , Maxime Coquelin , Alexandre Torgue , , , , Subject: [PATCH] drm/stm: dsi: Avoid printing errors for -EPROBE_DEFER Date: Fri, 18 Sep 2020 13:46:24 +0200 Message-ID: <20200918114624.10759-1-yannick.fertre@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG6NODE1.st.com (10.75.127.16) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-18_14:2020-09-16,2020-09-18 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't print error when probe deferred error is returned. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 3 ++- 1 file changed, 2 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 2e1f2664495d..164f79ef6269 100644 --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c +++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c @@ -419,7 +419,8 @@ static int dw_mipi_dsi_stm_probe(struct platform_device *pdev) dsi->dsi = dw_mipi_dsi_probe(pdev, &dw_mipi_dsi_stm_plat_data); if (IS_ERR(dsi->dsi)) { ret = PTR_ERR(dsi->dsi); - DRM_ERROR("Failed to initialize mipi dsi host: %d\n", ret); + if (ret != -EPROBE_DEFER) + DRM_ERROR("Failed to initialize mipi dsi host: %d\n", ret); goto err_dsi_probe; } -- 2.17.1