diff options
author | Menglong Dong <dong.menglong@zte.com.cn> | 2021-01-26 17:51:17 -0800 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2021-01-27 16:21:36 +0200 |
commit | bbd13d6a7b2e2ed05740a527a63db4f7bd6cb57e (patch) | |
tree | cb5deed81627d98e286930dbaf0f36607e4cea0a /drivers/gpu/drm/vc4 | |
parent | 97ecfff41e269d9c3114db85225bf1e493470a8f (diff) | |
download | linux-bbd13d6a7b2e2ed05740a527a63db4f7bd6cb57e.tar.bz2 |
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: 1ed6253856cb ("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
Diffstat (limited to 'drivers/gpu/drm/vc4')
0 files changed, 0 insertions, 0 deletions