projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8020724
)
retab intelfb code
author
Dave Airlie
<airlied@redhat.com>
Thu, 6 Dec 2007 01:47:29 +0000
(11:47 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 6 Dec 2007 01:47:29 +0000
(11:47 +1000)
linux-core/intel_fb.c
patch
|
blob
|
history
diff --git
a/linux-core/intel_fb.c
b/linux-core/intel_fb.c
index
c81e440
..
32c7dc3
100644
(file)
--- a/
linux-core/intel_fb.c
+++ b/
linux-core/intel_fb.c
@@
-321,9
+321,9
@@
static int intelfb_set_par(struct fb_info *info)
}
if (par->crtc->enabled) {
- if (!drm_mode_equal(&par->crtc->mode, drm_mode))
- if (!drm_crtc_set_mode(par->crtc, drm_mode, 0, 0))
- return -EINVAL;
+
if (!drm_mode_equal(&par->crtc->mode, drm_mode))
+
if (!drm_crtc_set_mode(par->crtc, drm_mode, 0, 0))
+
return -EINVAL;
}
return 0;
}