Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Fix LSPCON kernel-doc

Fix warnings on building htmldocs.

v2: whitespace around '/' (Ville)

Fixes: 056996b95686 ("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: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476878884-2370-1-git-send-email-jani.nikula@intel.com

+15 -14
+7 -7
drivers/gpu/drm/drm_dp_dual_mode_helper.c
··· 377 377 378 378 /** 379 379 * drm_lspcon_get_mode: Get LSPCON's current mode of operation by 380 - * by reading offset (0x80, 0x41) 381 - * @i2c_adapter: I2C-over-aux adapter 382 - * @current_mode: out vaiable, current lspcon mode of operation 380 + * reading offset (0x80, 0x41) 381 + * @adapter: I2C-over-aux adapter 382 + * @mode: current lspcon mode of operation output variable 383 383 * 384 384 * Returns: 385 385 * 0 on success, sets the current_mode value to appropriate mode ··· 413 413 EXPORT_SYMBOL(drm_lspcon_get_mode); 414 414 415 415 /** 416 - * drm_lspcon_change_mode: Change LSPCON's mode of operation by 417 - * by writing offset (0x80, 0x40) 418 - * @i2c_adapter: I2C-over-aux adapter 419 - * @reqd_mode: required mode of operation 416 + * drm_lspcon_set_mode: Change LSPCON's mode of operation by 417 + * writing offset (0x80, 0x40) 418 + * @adapter: I2C-over-aux adapter 419 + * @mode: required mode of operation 420 420 * 421 421 * Returns: 422 422 * 0 on success, -error on failure/timeout
+8 -7
include/drm/drm_dp_dual_mode_helper.h
··· 70 70 u8 offset, const void *buffer, size_t size); 71 71 72 72 /** 73 - * enum drm_lspcon_mode 74 - * @lspcon_mode_ls: Level shifter mode of LSPCON 75 - * which drives DP++ to HDMI 1.4 conversion. 76 - * @lspcon_mode_pcon: Protocol converter mode of LSPCON 77 - * which drives DP++ to HDMI 2.0 active conversion. 78 - */ 73 + * enum drm_lspcon_mode 74 + * @DRM_LSPCON_MODE_INVALID: No LSPCON. 75 + * @DRM_LSPCON_MODE_LS: Level shifter mode of LSPCON 76 + * which drives DP++ to HDMI 1.4 conversion. 77 + * @DRM_LSPCON_MODE_PCON: Protocol converter mode of LSPCON 78 + * which drives DP++ to HDMI 2.0 active conversion. 79 + */ 79 80 enum drm_lspcon_mode { 80 81 DRM_LSPCON_MODE_INVALID, 81 82 DRM_LSPCON_MODE_LS, ··· 91 90 * @DRM_DP_DUAL_MODE_TYPE1_HDMI: Type 1 HDMI adaptor 92 91 * @DRM_DP_DUAL_MODE_TYPE2_DVI: Type 2 DVI adaptor 93 92 * @DRM_DP_DUAL_MODE_TYPE2_HDMI: Type 2 HDMI adaptor 94 - * @DRM_DP_DUAL_MODE_TYPE2_LSPCON: Level shifter /protocol converter 93 + * @DRM_DP_DUAL_MODE_LSPCON: Level shifter / protocol converter 95 94 */ 96 95 enum drm_dp_dual_mode_type { 97 96 DRM_DP_DUAL_MODE_NONE,