diff options
author | Dave Airlie <airlied@linux.ie> | 2007-04-19 09:43:46 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-04-19 09:43:46 +1000 |
commit | 8d893e49ec35905a3718c565ec56c21d76dc745c (patch) | |
tree | 4026866323a3082168c0503bdc484924799dcdb1 | |
parent | 5587961cfeff86d8368ff03867a1f0667e4a64d4 (diff) |
backout SDVO control bus check and comment why this is a bad idea
-rw-r--r-- | linux-core/intel_sdvo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux-core/intel_sdvo.c b/linux-core/intel_sdvo.c index f004c766..507b0f5e 100644 --- a/linux-core/intel_sdvo.c +++ b/linux-core/intel_sdvo.c @@ -297,14 +297,14 @@ int intel_sdvo_get_pixel_multiplier(struct drm_display_mode *mode) return 4; } -static bool intel_sdvo_set_control_bus_switch(struct drm_output *output, u8 target) +/** + * Don't check status code from this as it switches the bus back to the + * SDVO chips which defeats the purpose of doing a bus switch in the first + * place. + */ +void intel_sdvo_set_control_bus_switch(struct drm_output *output, u8 target) { - u8 status; - intel_sdvo_write_cmd(output, SDVO_CMD_SET_CONTROL_BUS_SWITCH, &target, 1); - status = intel_sdvo_read_response(output, NULL, 0); - - return (status == SDVO_CMD_STATUS_SUCCESS); } static bool intel_sdvo_set_target_input(struct drm_output *output, bool target_0, bool target_1) |