Commit 56e18f8c authored by Clifton Barnes's avatar Clifton Barnes Committed by Greg Kroah-Hartman

staging: xgifb: fix block comments

fix checkpatch.pl warning about 'Block comments use a trailing */ on a
separate line' and 'Block comments use * on subsequent lines'
Signed-off-by: default avatarClifton Barnes <clifton.a.barnes@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3996ae34
...@@ -355,7 +355,8 @@ static void XGINew_DDR2_DefaultRegister( ...@@ -355,7 +355,8 @@ static void XGINew_DDR2_DefaultRegister(
unsigned long P3d4 = Port, P3c4 = Port - 0x10; unsigned long P3d4 = Port, P3c4 = Port - 0x10;
/* keep following setting sequence, each setting in /* keep following setting sequence, each setting in
* the same reg insert idle */ * the same reg insert idle
*/
xgifb_reg_set(P3d4, 0x82, 0x77); xgifb_reg_set(P3d4, 0x82, 0x77);
xgifb_reg_set(P3d4, 0x86, 0x00); xgifb_reg_set(P3d4, 0x86, 0x00);
xgifb_reg_get(P3d4, 0x86); /* Insert read command for delay */ xgifb_reg_get(P3d4, 0x86); /* Insert read command for delay */
...@@ -700,11 +701,11 @@ static void XGINew_CheckChannel(struct xgi_hw_device_info *HwDeviceExtension, ...@@ -700,11 +701,11 @@ static void XGINew_CheckChannel(struct xgi_hw_device_info *HwDeviceExtension,
break; break;
case XG42: case XG42:
/* /*
XG42 SR14 D[3] Reserve * XG42 SR14 D[3] Reserve
D[2] = 1, Dual Channel * D[2] = 1, Dual Channel
= 0, Single Channel * = 0, Single Channel
*
It's Different from Other XG40 Series. * It's Different from Other XG40 Series.
*/ */
if (XGINew_CheckFrequence(pVBInfo) == 1) { /* DDRII, DDR2x */ if (XGINew_CheckFrequence(pVBInfo) == 1) { /* DDRII, DDR2x */
pVBInfo->ram_bus = 32; /* 32 bits */ pVBInfo->ram_bus = 32; /* 32 bits */
......
...@@ -1992,7 +1992,8 @@ static void XGI_GetVBInfo(unsigned short ModeIdIndex, ...@@ -1992,7 +1992,8 @@ static void XGI_GetVBInfo(unsigned short ModeIdIndex,
} }
/* LCD+TV can't support in slave mode /* LCD+TV can't support in slave mode
* (Force LCDA+TV->LCDB) */ * (Force LCDA+TV->LCDB)
*/
if ((tempbx & SetInSlaveMode) && (tempbx & XGI_SetCRT2ToLCDA)) { if ((tempbx & SetInSlaveMode) && (tempbx & XGI_SetCRT2ToLCDA)) {
tempbx ^= (SetCRT2ToLCD | XGI_SetCRT2ToLCDA | tempbx ^= (SetCRT2ToLCD | XGI_SetCRT2ToLCDA |
SetCRT2ToDualEdge); SetCRT2ToDualEdge);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment