Files
linux/drivers/gpu/drm/omapdrm
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
..
2020-12-15 16:08:27 +02:00
2020-12-15 16:17:30 +02:00
2020-12-15 16:17:30 +02:00
2020-12-15 16:17:30 +02:00
2020-12-15 16:15:06 +02:00
2020-12-15 16:15:06 +02:00
2020-12-15 16:15:06 +02:00
2020-12-15 17:19:54 +02:00
2018-03-01 09:09:10 +02:00