diff options
author | YoungJun Cho <yj44.cho@samsung.com> | 2014-08-05 09:27:15 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 13:55:44 +0100 |
commit | dbf30b695809b88fd650dab4028156fb85c5f2d9 (patch) | |
tree | a54bd01563191ac5b681fe64676ae94bba2ab98a /include/drm | |
parent | ed6ff40ee72cc6d384a0aea5efa10c526350e84a (diff) | |
download | linux-dbf30b695809b88fd650dab4028156fb85c5f2d9.tar.bz2 |
drm/dsi: Add mipi_dsi_set_maximum_return_packet_size() helper
This function can be used to set the maximum return packet size for a
MIPI DSI peripheral.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
[treding: endianess, kerneldoc, return value]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_mipi_dsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 4eeb4a5ead8b..4a4e9d7ccc16 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -153,6 +153,8 @@ static inline struct mipi_dsi_device *to_mipi_dsi_device(struct device *dev) int mipi_dsi_attach(struct mipi_dsi_device *dsi); int mipi_dsi_detach(struct mipi_dsi_device *dsi); +int mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device *dsi, + u16 value); ssize_t mipi_dsi_dcs_write_buffer(struct mipi_dsi_device *dsi, const void *data, size_t len); ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, u8 cmd, |