summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2012-06-14 00:21:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 17:15:43 -0700
commit03f76fc617fdcf0f9cde4d56c5d7c6d9d33acbc1 (patch)
treece6c7d1128b7113c4ac50f2efd9e5e8c40d01e37 /sound
parent64e2498b6cd47eb64b1ced4ab173b6c5ecc4025e (diff)
staging/xgifb: Replace delay lookup tables with constant values
For TV Devices: The values taken from XGI_TVDelayList are always overwritten with the values from XGI_TVDelayList2 since the if condition for using the values from XGI_TVDelayList2 is identical with the check to enter this scope and thus always true. The delay values in XGI_TVDelayList2 is always 0x22 so we can simply replace it with this constant value. For LCD Devices: The LCD_DelayCompensation field is always set to 0x12 so we can simply replace this field with a constant value. This saves about 500 bytes in compiled size. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions