[patch] fix framebuffer size

Dodji Seketeli dodji at openedhand.com
Wed Jan 9 19:09:13 CET 2008


Hello,

This is a one liner patch to fix the framebuffer total size reported by
the glamo-fb driver.

The size is properly fixed by the glamofb_probe() function to begin
with.

Then each time a user issues an ioctl FBIOPUT_VSCREENINFO,
glamofb_set_par() sets the size to a bogus value.

I just fixed glamofb_set_par().

Cheers,

Dodji.

-- 
OpenedHand Ltd.
Unit R, Homesdale Business Center / 216 - 218 Homesdale Road /
Bromley / BR1 2QZ / United Kingdom.  Tel,fax: +44 (0) 208 819 6559

Expert Open Source For Consumer Devices - http://www.openedhand.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-fb-size-patch.txt
Url: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080109/dc4eabb8/attachment.txt 


More information about the openmoko-kernel mailing list