pm2fb: X and VT switching crash fix
PATCH 4/6 pm2fb: X and VT switching crash fix
From Jim Hague:
This is a bug in pm2fb.c exposed by recent changes to fbcon.
Signed-off-by Antonino Daplas <[email protected]>
---
pm2fb.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/pm2fb.c +1 -1
@@ -747,7 +747,7 @@ }if ((info->var.vmode &FB_VMODE_MASK )==FB_VMODE_DOUBLE ) video |=PM2F_LINE_DOUBLE ; -if (info->var.activate==FB_ACTIVATE_NOW ) +if ((info->var.activate &FB_ACTIVATE_MASK )==FB_ACTIVATE_NOW ) video |=PM2F_VIDEO_ENABLE ; par->video = video;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click