From b7d979138735d98371b55c2e7e523c57f83fa66e Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Mon, 8 Mar 2010 14:29:06 +0800 Subject: [PATCH 1/2] drm/i915: Fix the type error about the input parameter of TV format Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/intel_sdvo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index 82678d3..c0121a3 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c @@ -1064,7 +1064,7 @@ static void intel_sdvo_set_tv_format(struct intel_output *output) memcpy(&format, &format_map, sizeof(format_map) > sizeof(format) ? sizeof(format) : sizeof(format_map)); - intel_sdvo_write_cmd(output, SDVO_CMD_SET_TV_FORMAT, &format_map, + intel_sdvo_write_cmd(output, SDVO_CMD_SET_TV_FORMAT, &format, sizeof(format)); status = intel_sdvo_read_response(output, NULL, 0); -- 1.5.4.5