Dmitry Baryshkov eb9635b4a9 drm/mipi-dsi: use correct return type for the DSC functions
[ Upstream commit de1c705c50326acaceaf1f02bc5bf6f267c572bd ]

The functions mipi_dsi_compression_mode() and
mipi_dsi_picture_parameter_set() return 0-or-error rather than a buffer
size. Follow example of other similar MIPI DSI functions and use int
return type instead of size_t.

Fixes: f4dea1aaa9a1 ("drm/dsi: add helpers for DSI compression mode and PPS packets")
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408-lg-sw43408-panel-v5-2-4e092da22991@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:32:12 +02:00
..
2019-10-31 15:03:10 -07:00
2020-09-21 10:45:08 +02:00
2020-04-22 10:41:35 +10:00
2020-06-24 09:17:34 +02:00
2020-09-17 13:39:44 +02:00
2020-09-23 09:52:24 +10:00
2020-07-16 18:16:31 -04:00
2020-07-16 18:16:31 -04:00
2019-12-18 16:09:12 -05:00