mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
d6a9a92e32
Seemingly unneeded based on new upstream code so manually deleted: layerscape: 820-usb-0007-usb-dwc3-gadget-increase-timeout-value-for-send-ep-c.patch Manually merged: generic-hack: 251-sound_kconfig.patch All other modifications made by update_kernel.sh Build system: x86_64 Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711 Run-tested: ipq806x/R7800, lantiq/Easybox 904 xDSL No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us> [add lantiq test report, minor commit message clarification] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From ba875ce27cd407bc61502517671623df07bb6c1a Mon Sep 17 00:00:00 2001
|
|
From: James Hilliard <james.hilliard1@gmail.com>
|
|
Date: Fri, 10 Apr 2020 19:24:40 -0600
|
|
Subject: [PATCH] drm/vc4: hdmi: Silence pixel clock error on
|
|
-EPROBE_DEFER
|
|
|
|
If the vc4 hdmi driver loads before the pixel clock is available we
|
|
see a spurious "*ERROR* Failed to get pixel clock" error.
|
|
|
|
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hdmi.c | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
@@ -1494,8 +1494,10 @@ static int vc4_hdmi_init_resources(struc
|
|
|
|
vc4_hdmi->pixel_clock = devm_clk_get(dev, "pixel");
|
|
if (IS_ERR(vc4_hdmi->pixel_clock)) {
|
|
- DRM_ERROR("Failed to get pixel clock\n");
|
|
- return PTR_ERR(vc4_hdmi->pixel_clock);
|
|
+ ret = PTR_ERR(vc4_hdmi->pixel_clock);
|
|
+ if (ret != -EPROBE_DEFER)
|
|
+ DRM_ERROR("Failed to get pixel clock\n");
|
|
+ return ret;
|
|
}
|
|
|
|
vc4_hdmi->hsm_clock = devm_clk_get(dev, "hdmi");
|