Re: [PATCH 3/8] lcd: allow lcd device to handle mode change events
From: Dmitry Baryshkov <hidden>
Date: 2008-10-08 14:08:24
From: Dmitry Baryshkov <hidden>
Date: 2008-10-08 14:08:24
Eric Miao wrote:
Some LCD panels are capable of different resolutions, and is allowed to change at run-time, so to make "struct lcd_device" to be able to handle mode change events here. Signed-off-by: Eric Miao <redacted>
This patch broke a bit all existing fb drivers. At least you'll get a nice segfault on modechange, if any lcd driver w/o set_mode is registered. Please add a check for ld->ops->set_mode being non-NULL. -- With best wishes Dmitry ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/