summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-12-12 22:42:41 -0800
committerEric Anholt <eric@anholt.net>2006-12-12 22:42:41 -0800
commit63bf48481d4e5e285fdfe7037ea4150283163a54 (patch)
tree5aa1714fed5faac591b08ca7ed1b942606e5712c /src/i830_sdvo.c
parent41444183b59ed84c09749ca89afbef036d42ec5f (diff)
Correct typo in mac mini hack, and return modes when the hack is unnecessary.
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r--src/i830_sdvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index 895639eb..68ee9414 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -1003,7 +1003,7 @@ i830_sdvo_get_modes(xf86OutputPtr output)
modes = i830_ddc_get_modes(output);
if (modes != NULL)
- return NULL;
+ return modes;
/* Mac mini hack. On this device, I get DDC through the analog, which
* load-detects as disconnected. I fail to DDC through the SDVO DDC,