diff options
author | Stephen Boyd <swboyd@chromium.org> | 2023-09-06 20:12:26 +0200 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-10-09 11:17:47 +0200 |
commit | 6398e4d4ca0ad41feed529aa95c96a12d78f6124 (patch) | |
tree | 2fbeb66bba2f3a5ef069772e85043bba16eb2515 | |
parent | drm/msm/dp: Inline dp_display_is_sink_count_zero() (diff) | |
download | linux-6398e4d4ca0ad41feed529aa95c96a12d78f6124.tar.xz linux-6398e4d4ca0ad41feed529aa95c96a12d78f6124.zip |
drm/msm/dp: Remove error message when downstream port not connected
Plugging in an Apple dongle without the HDMI cable attached prints out
an error message in the kernel logs when nothing is actually wrong.
no downstream ports connected
This is because the downstream port for the HDMI connector is not
connected, so the Apple dongle reports that as a zero sink count device.
Cc: Vinod Polimera <quic_vpolimer@quicinc.com>
Cc: Kuogee Hsieh <quic_khsieh@quicinc.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/556068/
Link: https://lore.kernel.org/r/20230906181226.2198441-3-swboyd@chromium.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
-rw-r--r-- | drivers/gpu/drm/msm/dp/dp_panel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/dp/dp_panel.c b/drivers/gpu/drm/msm/dp/dp_panel.c index 3957c567c730..0871ef42933e 100644 --- a/drivers/gpu/drm/msm/dp/dp_panel.c +++ b/drivers/gpu/drm/msm/dp/dp_panel.c @@ -156,7 +156,6 @@ int dp_panel_read_sink_caps(struct dp_panel *dp_panel, if (drm_dp_is_branch(dp_panel->dpcd)) { count = drm_dp_read_sink_count(panel->aux); if (!count) { - DRM_ERROR("no downstream ports connected\n"); panel->link->sink_count = 0; return -ENOTCONN; } |