kernel-ark/drivers/staging/xgifb
Peter Huewe 76a5899b0c staging/xgifb: Simplify XGI_SetSeqRegs
Since SR[0] in the (readonly) XGI330_StandTable is always 0x01 we can
skip or'ing with 0x01 and make the code simpler by removing the if
statements.

Since this function is the only user of the XGI330_StandTable we can
also include the unconditional |= 0x20 into the input data and move the
assignment to SR1 into the loop, which I prefer to start at 0.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-04 10:46:27 -08:00
..
Kconfig
Makefile staging: xgifb: delete vb_ext.{c,h} 2011-11-26 18:03:18 -08:00
TODO staging "xgifb" Fix typos. 2012-10-22 11:41:13 -07:00
vb_def.h staging: xgifb: eliminate pVBInfo->AGPReg 2012-11-13 12:54:30 -08:00
vb_init.c staging: xgifb: delete pVBInfo->BaseAddr 2013-01-21 14:00:10 -08:00
vb_init.h staging: xgifb: use XGIRegInit() 2013-01-21 14:00:10 -08:00
vb_setmode.c staging/xgifb: Simplify XGI_SetSeqRegs 2013-02-04 10:46:27 -08:00
vb_setmode.h staging: xgifb: move XGI21_LVDSCapStruct into xgifb_video_info 2011-12-08 12:26:07 -08:00
vb_struct.h staging: xgifb: delete pVBInfo->BaseAddr 2013-01-21 14:00:10 -08:00
vb_table.h staging/xgifb: Simplify XGI_SetSeqRegs 2013-02-04 10:46:27 -08:00
vb_util.c Staging: xgifb: Fix sparse warnings. 2012-06-18 17:20:21 -07:00
vb_util.h staging: xgifb: clean up register access types 2011-03-14 11:52:34 -07:00
vgatypes.h Staging: xgifb: Remove unneeded XGI_LCD_TYPE enumeration. 2012-07-11 16:59:27 -07:00
XGI_main_26.c staging/xgifb: Fix return of uninitialized variable 2013-02-04 10:46:27 -08:00
XGI_main.h Staging: xgifb: Remove unused struct _chswtable. 2012-07-11 16:59:28 -07:00
XGIfb.h staging/xgifb: mttr must be (signed) int 2013-02-04 10:46:27 -08:00