Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3189960pxu; Tue, 15 Dec 2020 00:28:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdqtGzI43XR5gWvTOfYGwJC/DzWiGBCJ0Zv0/nKGcCAhpWRATRAsxGEI/SibL5lkeW1Ldo X-Received: by 2002:a50:ccdb:: with SMTP id b27mr1408286edj.20.1608020882340; Tue, 15 Dec 2020 00:28:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608020882; cv=none; d=google.com; s=arc-20160816; b=YnJ6kr3dvxqsTQjvhh/MUOoaO8jmPY3KGU8uJFc4HSvEvwL+yPJxYWP25mH/fymxcz /YU8hKfy519x3cRv6WOXoFWGSsptFeRz+7PRHVK1wJHu9oPPoUyQgOW/ui83yMlnm/um EdYsQO+JZ8xEZEBbs+BFL16GuxDK0kzwja6GZRBjSacq5zFxiy0ef8Ictm4TvbYOIlB/ nHa6THUR5Z4uzWF2ZwwcIA+HlJo6N9gRhIUyT3G68xjXUxU8UQ/eoS+ZJnqynpa83Bqa TQZjsUukg982ZBH4CvcvenuTP1eT6Y+P6C7JDR8YyyhhHu9VSCYv07xXA6vye7HiEFMp tAug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=kSFNQtVJSYaqOMtviIOAEOgtBoRqZoPDoAtEAkjswgE=; b=BmE/4PwDUDQ9M6FsHaLLvvxntbF29zu7fAZqNWTMsyL+sNJ5W6mZQTuqzcsC+6jV5J mmc706dsu/veJ/ZwvXRMA2FPy2P8e4ywXWdZ/fW/S/UqH4mCXuQhSbgHk81T/BuffiCO 236tVzaPw3Gsz10ag/r5lI7S86yKT2clzmvWFYXWax1Ti7w9IMewdLpabKIwuaS06DGM muporQ3wneUoz6rhyH8X88jqOn4368bctqaOM9wOwjXIZIZVSa3R9Fq9OpnU8bmwCDSX 3yr6cKGQXzH/7aQlpca+5Dqp76wVm33MJWPYEfmUv3Gda4jD4rL05dovKprEu+QqHk+b N97A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si477238edv.64.2020.12.15.00.27.33; Tue, 15 Dec 2020 00:28:02 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726771AbgLOIYX (ORCPT + 99 others); Tue, 15 Dec 2020 03:24:23 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:57342 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbgLOIYX (ORCPT ); Tue, 15 Dec 2020 03:24:23 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 97FCCFB04; Tue, 15 Dec 2020 09:23:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lrgQtBwn5rT4; Tue, 15 Dec 2020 09:23:39 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 90C2A43FDF; Tue, 15 Dec 2020 09:23:38 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Marek Vasut , Stefan Agner , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Emil Velikov , Laurent Pinchart , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/1] drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge Date: Tue, 15 Dec 2020 09:23:37 +0100 Message-Id: X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It can take multiple iterations until all components for an attached DSI bridge are up leading to several: [ 3.796425] mxsfb 30320000.lcd-controller: Cannot connect bridge: -517 [ 3.816952] mxsfb 30320000.lcd-controller: [drm:mxsfb_probe [mxsfb]] *ERROR* failed to attach bridge: -517 Silence this by checking for -EPROBE_DEFER and using dev_err_probe() so we set a deferred reason in case a dependency fails to probe (which quickly happens on small config/DT changes due to the rather long probe chain which can include bridges, phys, panels, backights, leds, etc.). This also removes the only DRM_DEV_ERROR() usage, the rest of the driver uses dev_err(). Guido Günther (1): drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge drivers/gpu/drm/mxsfb/mxsfb_drv.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) -- 2.29.2