Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268802
b: refs/heads/master
c: 84a6c46
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Oct 12, 2011
1 parent 48b869b commit 790afd0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c11d0ef3e250a4483e10e6984362b07fbf12c5ae
refs/heads/master: 84a6c46eb2d4aac843d6946bf8319dfe78a35f96
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/XGI_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,5 @@ static const struct _XGI_TV_filter {
};

static int filter = -1;
static unsigned char filter_tb;

#endif
3 changes: 3 additions & 0 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,8 @@ static void XGIfb_post_setmode(struct xgifb_video_info *xgifb_info)
reg = xgifb_reg_get(XGIPART4, 0x01);

if (reg < 0xB0) { /* Set filter for XGI301 */
int filter_tb;

switch (xgifb_info->video_width) {
case 320:
filter_tb = (xgifb_info->TV_type ==
Expand All @@ -964,6 +966,7 @@ static void XGIfb_post_setmode(struct xgifb_video_info *xgifb_info)
TVMODE_NTSC) ? 7 : 15;
break;
default:
filter_tb = 0;
filter = -1;
break;
}
Expand Down

0 comments on commit 790afd0

Please sign in to comment.