Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp230938rwi; Tue, 25 Oct 2022 23:32:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6sGDRdRxu8aluiRMWbdc7PgN4aBWYpcOvwHCLvnATYMg9Z1TZmjHdE8jAbflLkr/3ZGFaN X-Received: by 2002:a17:902:d2cf:b0:17f:7b65:862f with SMTP id n15-20020a170902d2cf00b0017f7b65862fmr42263198plc.168.1666765955007; Tue, 25 Oct 2022 23:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666765955; cv=none; d=google.com; s=arc-20160816; b=Gdv4k8q0EvOmF2NC++bKL7gjurAxDSpOoGyMEpR7ns6Jx5GCMx/GQU2XTbFOcM9Ty6 ZhVLNJO8uMXjO0EJi1lBCSzd0vqh8FD+y/SW1uskdfjyXtQN27WW32AhngMCKNh0SoIz cO6EVVd2rYdoefYoJp7KYrQqt7cT1GQLjwq7SznKv4FSYdgjAsMlLADKHM4RLzHMU8i0 Lt21xLP3YHMoSvPUzETt+H4s5fynaDoCZUzBAAQl1OdlNwMdcaBnOBz4aW4l8A/nruTd 18vLGKCJP9cVP4wZTq39aQgJFCgKSz2zNyP2GGmOIOmSQVIF+MwSCFG61Pt1iEs3RLIk UOkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=nSeHqT0MAV/eN4BopDYHbyZl2GURD98RXLRWbEJUu74=; b=qM4CvIWWkqkt6QrCPIm2sXO+E6knFN0rhizD1gfEgbUWJSuT7usBnr+aZabpzG5VhK EyeL3OlcnVWO5Xpy9iWArMIzNoTob2Pf88UFKSD0Bo5PgO3ITWwAnCtCTuUw5s1TyQ+M +TNNt154jCko0SWglou+L3pzH+6Np2U1i0FrljwmZ1zNt+QybTwd7CYC7wT7ISudsD6O tYmG58IUSO9rtwQjeKBZ+1FBHHPi7XjgxtjiMcVfSD0ZGZ1bJthCGy+IfEnrGHx6RxDX LsxzMRmEmPS4c9rNOG1hHup4p0EgAS5GltTVDVPQWWkZJd8WhbTQXixi1ympgTrk5S4y Y8Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aurel32.net header.s=202004.hall header.b=eeTTlpU7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a631949000000b0043af57e5d16si6341443pgz.724.2022.10.25.23.32.20; Tue, 25 Oct 2022 23:32:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aurel32.net header.s=202004.hall header.b=eeTTlpU7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232963AbiJZGDJ (ORCPT + 99 others); Wed, 26 Oct 2022 02:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233027AbiJZGDE (ORCPT ); Wed, 26 Oct 2022 02:03:04 -0400 Received: from hall.aurel32.net (hall.aurel32.net [IPv6:2001:bc8:30d7:100::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9C69ABD7A for ; Tue, 25 Oct 2022 23:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Content-Transfer-Encoding:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=nSeHqT0MAV/eN4BopDYHbyZl2GURD98RXLRWbEJUu74=; b=eeTTlpU7ry70GXhL+ZkEwOqS3/ 0kPVIk+djI3lpSQ+/mDA5ZGrhD5C0rROMCDYq+jujunqkCn7Jve77fe/VWwk1zuSz+Y+Xynpc5ZIA YYQj+UBp1t/VDTnd0XW7uiiFfA56Au8a0tk2icDkaN+9KbC2h947BVovRNWvQuZJPSU+3+tEQ4tIX 7PPFDsgSVOMe2gopDM/7893+YARWyooC7AH/KXmq0ZB/8plur7j/FqTA4WH/K8TaYsL0ZU59x5CZE uokIDcCPlzkXrpyNUPIJceiJXAtF9I6Gl022j+btzJW5hjhpnjfG6uPvFTRt8k1d+f4j1zkzjxTqo tfIGPKnw==; Received: from [2a01:e34:ec5d:a741:8a4c:7c4e:dc4c:1787] (helo=ohm.rr44.fr) by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1onZVA-00F5kA-1q; Wed, 26 Oct 2022 08:02:56 +0200 Received: from aurel32 by ohm.rr44.fr with local (Exim 4.96) (envelope-from ) id 1onZV9-001wlC-1U; Wed, 26 Oct 2022 08:02:55 +0200 Date: Wed, 26 Oct 2022 08:02:55 +0200 From: Aurelien Jarno To: linux-kernel@vger.kernel.org Cc: Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , David Airlie , Daniel Vetter , Dmitry Osipenko , Sascha Hauer , "open list:DRM DRIVERS FOR ROCKCHIP" , "moderated list:ARM/Rockchip SoC support" , "open list:ARM/Rockchip SoC support" Subject: Re: [PATCH] drm/rockchip: dw_hdmi: filter regulator -EPROBE_DEFER error messages Message-ID: Mail-Followup-To: linux-kernel@vger.kernel.org, Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , David Airlie , Daniel Vetter , Dmitry Osipenko , Sascha Hauer , "open list:DRM DRIVERS FOR ROCKCHIP" , "moderated list:ARM/Rockchip SoC support" , "open list:ARM/Rockchip SoC support" References: <20220926203752.5430-1-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220926203752.5430-1-aurelien@aurel32.net> User-Agent: Mutt/2.2.7 (2022-08-07) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ping? On 2022-09-26 22:37, Aurelien Jarno wrote: > When the avdd-0v9 or avdd-1v8 supply are not yet available, EPROBE_DEFER > is returned by rockchip_hdmi_parse_dt(). This causes the following error > message to be printed multiple times: > > dwhdmi-rockchip fe0a0000.hdmi: [drm:dw_hdmi_rockchip_bind [rockchipdrm]] *ERROR* Unable to parse OF data > > Fix that by not printing the message when rockchip_hdmi_parse_dt() > returns -EPROBE_DEFER. > > Fixes: ca80c4eb4b01 ("drm/rockchip: dw_hdmi: add regulator support") > Signed-off-by: Aurelien Jarno > --- > drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > index c14f88893868..2f4b8f64cbad 100644 > --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > @@ -565,7 +565,8 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master, > > ret = rockchip_hdmi_parse_dt(hdmi); > if (ret) { > - DRM_DEV_ERROR(hdmi->dev, "Unable to parse OF data\n"); > + if (ret != -EPROBE_DEFER) > + DRM_DEV_ERROR(hdmi->dev, "Unable to parse OF data\n"); > return ret; > } > > -- > 2.35.1 > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip > -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net