diff options
Diffstat (limited to 'drivers/gpu/drm/drm_mipi_dsi.c')
-rw-r--r-- | drivers/gpu/drm/drm_mipi_dsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index e633df2f68d8..6d2fd2077dae 100644 --- a/drivers/gpu/drm/drm_mipi_dsi.c +++ b/drivers/gpu/drm/drm_mipi_dsi.c | |||
@@ -205,8 +205,8 @@ EXPORT_SYMBOL(mipi_dsi_detach); | |||
205 | * @data: pointer to the command followed by parameters | 205 | * @data: pointer to the command followed by parameters |
206 | * @len: length of @data | 206 | * @len: length of @data |
207 | */ | 207 | */ |
208 | int mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, unsigned int channel, | 208 | ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, unsigned int channel, |
209 | const void *data, size_t len) | 209 | const void *data, size_t len) |
210 | { | 210 | { |
211 | const struct mipi_dsi_host_ops *ops = dsi->host->ops; | 211 | const struct mipi_dsi_host_ops *ops = dsi->host->ops; |
212 | struct mipi_dsi_msg msg = { | 212 | struct mipi_dsi_msg msg = { |