linux/drivers/gpu/drm/omapdrm/dss
Menglong Dong bbd13d6a7b drm/omap: dsi: fix unreachable code in dsi_vc_send_short()
The 'r' in dsi_vc_send_short() is of type 'unsigned int', so the
'r < 0' can't be true.

Fix this by introducing a 'err' of type 'int' insteaded.

Fixes: 1ed6253856 ("drm/omap: dsi: switch dsi_vc_send_long/short to mipi_dsi_msg")

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210127015117.23267-1-dong.menglong@zte.com.cn
2021-01-27 16:21:36 +02:00
..
base.c drm/omap: remove dispc_ops 2020-12-15 16:15:06 +02:00
dispc_coefs.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
dispc.c drm/omap: remove dispc_ops 2020-12-15 16:15:06 +02:00
dispc.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
dpi.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
dsi.c drm/omap: dsi: fix unreachable code in dsi_vc_send_short() 2021-01-27 16:21:36 +02:00
dsi.h drm/omap: dsi: allow DSI commands to be sent early 2020-12-15 16:17:32 +02:00
dss.c drm/omap: squash omapdrm sub-modules into one 2020-12-15 16:08:27 +02:00
dss.h drm/omap: remove dss_mgr_ops 2020-12-15 16:17:30 +02:00
hdmi4_cec.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi4_cec.h omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support 2017-10-12 10:49:14 +03:00
hdmi4_core.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi4_core.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi4.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
hdmi5_core.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi5_core.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi5.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
hdmi_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdmi_phy.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi_pll.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi_wp.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omapdss.h drm/omap: dsi: move structs & defines to dsi.h 2020-12-15 16:17:31 +02:00
output.c drm/omap: remove dss_mgr_ops 2020-12-15 16:17:30 +02:00
pll.c drm/omap: pll: fix iteration loop check 2020-12-15 16:17:30 +02:00
sdi.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
venc.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
video-pll.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00