aboutsummaryrefslogtreecommitdiff
path: root/linux-core/nv50_sor.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-06-23 20:33:32 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-06-23 20:33:32 +0200
commit0a45f150669eaa2737d7485c9b68ea4c483f3048 (patch)
treec2186fd0fe85b6ea6963bb84ce71e515adc1799d /linux-core/nv50_sor.c
parent30f153a7c2a9bc69e615b7fff3fb060af0e3ed83 (diff)
NV50: Improve set_config and fix some minor bugs.
Diffstat (limited to 'linux-core/nv50_sor.c')
-rw-r--r--linux-core/nv50_sor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/nv50_sor.c b/linux-core/nv50_sor.c
index 49f29fd3..75909c82 100644
--- a/linux-core/nv50_sor.c
+++ b/linux-core/nv50_sor.c
@@ -100,6 +100,10 @@ static int nv50_sor_set_clock_mode(struct nv50_output *output)
NV50_DEBUG("or %d\n", nv50_output_or_offset(output));
+ /* We don't yet know what to do, if anything at all. */
+ if (output->type == OUTPUT_LVDS)
+ return 0;
+
if (crtc->use_native_mode)
hw_mode = crtc->native_mode;
else