Commit 613a3081 authored by Jani Nikula's avatar Jani Nikula

drm: Fix LSPCON kernel-doc

Fix warnings on building htmldocs.

v2: whitespace around '/' (Ville)

Fixes: 056996b9 ("drm: Helper for lspcon in drm_dp_dual_mode")
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: <dri-devel@lists.freedesktop.org>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476878884-2370-1-git-send-email-jani.nikula@intel.com
parent 40fa60c8
...@@ -377,9 +377,9 @@ EXPORT_SYMBOL(drm_dp_get_dual_mode_type_name); ...@@ -377,9 +377,9 @@ EXPORT_SYMBOL(drm_dp_get_dual_mode_type_name);
/** /**
* drm_lspcon_get_mode: Get LSPCON's current mode of operation by * drm_lspcon_get_mode: Get LSPCON's current mode of operation by
* by reading offset (0x80, 0x41) * reading offset (0x80, 0x41)
* @i2c_adapter: I2C-over-aux adapter * @adapter: I2C-over-aux adapter
* @current_mode: out vaiable, current lspcon mode of operation * @mode: current lspcon mode of operation output variable
* *
* Returns: * Returns:
* 0 on success, sets the current_mode value to appropriate mode * 0 on success, sets the current_mode value to appropriate mode
...@@ -413,10 +413,10 @@ int drm_lspcon_get_mode(struct i2c_adapter *adapter, ...@@ -413,10 +413,10 @@ int drm_lspcon_get_mode(struct i2c_adapter *adapter,
EXPORT_SYMBOL(drm_lspcon_get_mode); EXPORT_SYMBOL(drm_lspcon_get_mode);
/** /**
* drm_lspcon_change_mode: Change LSPCON's mode of operation by * drm_lspcon_set_mode: Change LSPCON's mode of operation by
* by writing offset (0x80, 0x40) * writing offset (0x80, 0x40)
* @i2c_adapter: I2C-over-aux adapter * @adapter: I2C-over-aux adapter
* @reqd_mode: required mode of operation * @mode: required mode of operation
* *
* Returns: * Returns:
* 0 on success, -error on failure/timeout * 0 on success, -error on failure/timeout
......
...@@ -70,12 +70,13 @@ ssize_t drm_dp_dual_mode_write(struct i2c_adapter *adapter, ...@@ -70,12 +70,13 @@ ssize_t drm_dp_dual_mode_write(struct i2c_adapter *adapter,
u8 offset, const void *buffer, size_t size); u8 offset, const void *buffer, size_t size);
/** /**
* enum drm_lspcon_mode * enum drm_lspcon_mode
* @lspcon_mode_ls: Level shifter mode of LSPCON * @DRM_LSPCON_MODE_INVALID: No LSPCON.
* which drives DP++ to HDMI 1.4 conversion. * @DRM_LSPCON_MODE_LS: Level shifter mode of LSPCON
* @lspcon_mode_pcon: Protocol converter mode of LSPCON * which drives DP++ to HDMI 1.4 conversion.
* which drives DP++ to HDMI 2.0 active conversion. * @DRM_LSPCON_MODE_PCON: Protocol converter mode of LSPCON
*/ * which drives DP++ to HDMI 2.0 active conversion.
*/
enum drm_lspcon_mode { enum drm_lspcon_mode {
DRM_LSPCON_MODE_INVALID, DRM_LSPCON_MODE_INVALID,
DRM_LSPCON_MODE_LS, DRM_LSPCON_MODE_LS,
...@@ -90,7 +91,7 @@ enum drm_lspcon_mode { ...@@ -90,7 +91,7 @@ enum drm_lspcon_mode {
* @DRM_DP_DUAL_MODE_TYPE1_HDMI: Type 1 HDMI adaptor * @DRM_DP_DUAL_MODE_TYPE1_HDMI: Type 1 HDMI adaptor
* @DRM_DP_DUAL_MODE_TYPE2_DVI: Type 2 DVI adaptor * @DRM_DP_DUAL_MODE_TYPE2_DVI: Type 2 DVI adaptor
* @DRM_DP_DUAL_MODE_TYPE2_HDMI: Type 2 HDMI adaptor * @DRM_DP_DUAL_MODE_TYPE2_HDMI: Type 2 HDMI adaptor
* @DRM_DP_DUAL_MODE_TYPE2_LSPCON: Level shifter /protocol converter * @DRM_DP_DUAL_MODE_LSPCON: Level shifter / protocol converter
*/ */
enum drm_dp_dual_mode_type { enum drm_dp_dual_mode_type {
DRM_DP_DUAL_MODE_NONE, DRM_DP_DUAL_MODE_NONE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment