projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80f51c3
)
gma500: remove an un-needed check
author
Alan Cox
<alan@linux.intel.com>
Tue, 5 Jul 2011 14:40:03 +0000
(15:40 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 5 Jul 2011 15:20:41 +0000
(08:20 -0700)
This is a Medfield only path
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/mdfld_device.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/gma500/mdfld_device.c
b/drivers/staging/gma500/mdfld_device.c
index 3955448bac89d95e9b662e89bd261cdbf0e1ea41..e66d04a71191854c235e5280ac54c000aacb40ce 100644
(file)
--- a/
drivers/staging/gma500/mdfld_device.c
+++ b/
drivers/staging/gma500/mdfld_device.c
@@
-589,7
+589,7
@@
static int mdfld_restore_display_registers(struct drm_device *dev, int pipe)
PSB_WVDC32(palette_val[i], palette_reg + (i<<2));
if (pipe == 1)
return 0;
- if (
IS_MFLD(dev) &&
!mdfld_panel_dpi(dev))
+ if (!mdfld_panel_dpi(dev))
mdfld_enable_te(dev, pipe);
return 0;
}