staging: xgifb: fix ypan disable option
Setting any of the FB options will disable ypan as a side effect. It should be disabled only by the "noypan" option. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e1b7f9155e
commit
3f5042dfb4
@@ -1994,10 +1994,6 @@ static int __init XGIfb_setup(char *options)
|
|||||||
/* printk(KERN_INFO "XGIfb: Invalid option %s\n",
|
/* printk(KERN_INFO "XGIfb: Invalid option %s\n",
|
||||||
this_opt); */
|
this_opt); */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TW: Panning only with acceleration */
|
|
||||||
XGIfb_ypan = 0;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
printk("\nxgifb: outa xgifb_setup 3450");
|
printk("\nxgifb: outa xgifb_setup 3450");
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user