Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1461994ybl; Wed, 14 Aug 2019 17:51:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9aSg/LWO2i/fQrCI22RlmuWm206IJ7NuEzojfuOCVREKWfrDRIuVh1K6E5HIGBjI+Xm37 X-Received: by 2002:a17:90a:3ad0:: with SMTP id b74mr581836pjc.79.1565830267871; Wed, 14 Aug 2019 17:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565830267; cv=none; d=google.com; s=arc-20160816; b=KIDTsbFmHm1xeP8dMyIIf/G94AYWBv6SK4nlXBEleiIFmU/Y10g6/70i1FyywDa/1F ZWFc4ZjcblrQf/OaNLBltsLhc09DEKa+uz29PIkb8Qlj1gShvbNm2U9hViaNYErIOgoM 8FjMrawAeiUAvuDr5/500trax7pzmHdJSBKJpv4o9LUPs1Bk0x871N3SahZj79HRFj14 20JEAB+aOWEun+qcBphQKoRJgK09hvdTEfggKTYhPX5aTC1akf0D0d3T3WfMP3e9wyqk ADuRsV4vzr9ZyNaQBvaO2wTjR+SUplsx8eLwrTBI8P+FyV3VNzSjpunmYpj8ZTz5flFR aI6A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+8565AlsKHLJWXYw33dWmsSC/X79ubUw1X03bfNXRSo=; b=klN0K5VPFbUPk0CzdbvFDe/dEUX6cWha/cOhw4uNx9dW9CE2Ib8Obh+HRkvj7iIHaF 1V1ytJrSpvV0omeGaemmCSKNZ9eYV3C8aIU0zcgbKQCtfGiMjUySGtF3rWWhCV8rppje jYv4wNA2h/xkM6A8ZwVl0kG1NRM577ztTim4K1HaDEOolFysjIWxZOlFAaNshqj6Tq76 yDB2Z5edPe3bokJDwgJqEHzy+20ufq6OvH1tLjq5xBdiYNxPZyuJQUdwZYLiOLdwcRM1 PEcOsY2VOMO0VN/34+mTCyDH3oCVonXiQRX8IMhiXi1um9qwzeuNJvrWfqLRYoi4I6NH tsBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b="NJdtoh3/"; 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 g13si790154pgp.405.2019.08.14.17.50.52; Wed, 14 Aug 2019 17:51:07 -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; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b="NJdtoh3/"; 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 S1729176AbfHOAtk (ORCPT + 99 others); Wed, 14 Aug 2019 20:49:40 -0400 Received: from onstation.org ([52.200.56.107]:44344 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728559AbfHOAtR (ORCPT ); Wed, 14 Aug 2019 20:49:17 -0400 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 26AB63EA22; Thu, 15 Aug 2019 00:49:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1565830156; bh=d3q75pXkjIXM1QryEInKZPabWpuCo5QQR2U68bge2+A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NJdtoh3/ImfhdTmSEd85mj5KPu2ZKI0+UpUzJUTokWtV70S3liqeW3s4dbfky+wr4 LolisNgSRIh+ji/BEC/+LNt4IZWePqwWkQ0lf99WfPMtT+plnIZnwpj94J+7JjQ06J WoLNwQj3TpHlok1OzDecQd2NzU7BUwa+XkPAjiD8= From: Brian Masney To: bjorn.andersson@linaro.org, robh+dt@kernel.org, agross@kernel.org, a.hajda@samsung.com, narmstrong@baylibre.com, robdclark@gmail.com, sean@poorly.run Cc: airlied@linux.ie, daniel@ffwll.ch, mark.rutland@arm.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, linus.walleij@linaro.org, enric.balletbo@collabora.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, freedreno@lists.freedesktop.org Subject: [PATCH 08/11] drm/msm/hdmi: silence -EPROBE_DEFER warning Date: Wed, 14 Aug 2019 20:48:51 -0400 Message-Id: <20190815004854.19860-9-masneyb@onstation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190815004854.19860-1-masneyb@onstation.org> References: <20190815004854.19860-1-masneyb@onstation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Silence a warning message due to an -EPROBE_DEFER error to help cleanup the system boot log. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy.c index 1697e61f9c2f..8a38d4b95102 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_phy.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy.c @@ -29,8 +29,12 @@ static int msm_hdmi_phy_resource_init(struct hdmi_phy *phy) reg = devm_regulator_get(dev, cfg->reg_names[i]); if (IS_ERR(reg)) { ret = PTR_ERR(reg); - DRM_DEV_ERROR(dev, "failed to get phy regulator: %s (%d)\n", - cfg->reg_names[i], ret); + if (ret != -EPROBE_DEFER) { + DRM_DEV_ERROR(dev, + "failed to get phy regulator: %s (%d)\n", + cfg->reg_names[i], ret); + } + return ret; } -- 2.21.0