projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2200683
)
staging: xgifb: XGI_SetDelayComp(): delete IF_DEF_LVDS check
author
Aaro Koskinen
<aaro.koskinen@iki.fi>
Fri, 8 Feb 2013 22:03:48 +0000
(
00:03
+0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 8 Feb 2013 23:39:58 +0000
(15:39 -0800)
Delete IF_DEF_LVDS check, this function is never called when it's true.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c
patch
|
blob
|
history
diff --git
a/drivers/staging/xgifb/vb_setmode.c
b/drivers/staging/xgifb/vb_setmode.c
index 2f9046439b0d359dd99084653decdff56898886f..3d5c4244c8099d8243b90d94c003768528a25646 100644
(file)
--- a/
drivers/staging/xgifb/vb_setmode.c
+++ b/
drivers/staging/xgifb/vb_setmode.c
@@
-4863,16
+4863,6
@@
static void XGI_SetDelayComp(struct vb_device_info *pVBInfo)
}
xgifb_reg_set(pVBInfo->Part1Port, 0x2D, tempah);
}
- } else if (pVBInfo->IF_DEF_LVDS == 1) {
- tempbl = 0;
- tempbh = 0;
- if (pVBInfo->VBInfo & SetCRT2ToLCD) {
- tempah = XGI301LCDDelay;
- tempah &= 0x0f;
- tempah = tempah << 4;
- xgifb_reg_and_or(pVBInfo->Part1Port, 0x2D, 0x0f,
- tempah);
- }
}
}