Correct typo in mac mini hack, and return modes when the hack is unnecessary.

This commit is contained in:
Eric Anholt 2006-12-12 22:42:41 -08:00
parent 41444183b5
commit 63bf48481d
1 changed files with 1 additions and 1 deletions

View File

@ -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,