linux/drivers/gpu/drm/display
Simon Ser 2ac6cdd581 drm/dp_mst: fix drm_dp_dpcd_read return value checks
drm_dp_dpcd_read returns the number of bytes read. The previous code
would print garbage on DPCD error, and would exit with on error on
success.

Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: cb897542c6 ("drm/dp_mst: Fix W=1 warnings")
Cc: Lyude Paul <lyude@redhat.com>
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/473500/
2022-07-29 13:55:39 +02:00
..
drm_display_helper_mod.c
drm_dp_aux_bus.c
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c drm:delete the repeated word "the" in comments 2022-07-19 09:03:24 +02:00
drm_dp_helper_internal.h
drm_dp_mst_topology.c drm/dp_mst: fix drm_dp_dpcd_read return value checks 2022-07-29 13:55:39 +02:00
drm_dp_mst_topology_internal.h
drm_dsc_helper.c
drm_hdcp_helper.c
drm_hdmi_helper.c
drm_scdc_helper.c
Kconfig drm/display: Fix build error without CONFIG_OF 2022-06-23 16:18:02 +02:00
Makefile