Commit 5dec1aff authored by Benjamin Gaignard's avatar Benjamin Gaignard Committed by Benjamin Gaignard
Browse files

drm: sti: fix W=1 warnings



Fix warnings when W=1.
No code changes, only clean up in sti internal structures and functions
descriptions.

Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190909101254.24191-1-benjamin.gaignard@st.com
parent 1e696204
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ struct dma_pixmap {
	void *base;
};

/**
/*
 * STI Cursor structure
 *
 * @sti_plane:    sti_plane structure
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ static struct dvo_config rgb_24bit_de_cfg = {
	.awg_fwgen_fct = sti_awg_generate_code_data_enable_mode,
};

/**
/*
 * STI digital video output structure
 *
 * @dev: driver device
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ struct sti_gdp_node_list {
	dma_addr_t btm_field_paddr;
};

/**
/*
 * STI GDP structure
 *
 * @sti_plane:          sti_plane structure
+1 −1
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ static const struct sti_hda_video_config hda_supported_modes[] = {
	 AWGi_720x480p_60, NN_720x480p_60, VID_ED}
};

/**
/*
 * STI hd analog structure
 *
 * @dev: driver device
+2 −2
Original line number Diff line number Diff line
@@ -334,7 +334,6 @@ static void hdmi_infoframe_reset(struct sti_hdmi *hdmi,
 * Helper to concatenate infoframe in 32 bits word
 *
 * @ptr: pointer on the hdmi internal structure
 * @data: infoframe to write
 * @size: size to write
 */
static inline unsigned int hdmi_infoframe_subpack(const u8 *ptr, size_t size)
@@ -544,13 +543,14 @@ static int hdmi_vendor_infoframe_config(struct sti_hdmi *hdmi)
	return 0;
}

#define HDMI_TIMEOUT_SWRESET  100   /*milliseconds */

/**
 * Software reset of the hdmi subsystem
 *
 * @hdmi: pointer on the hdmi internal structure
 *
 */
#define HDMI_TIMEOUT_SWRESET  100   /*milliseconds */
static void hdmi_swreset(struct sti_hdmi *hdmi)
{
	u32 val;
Loading