diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-11-19 15:44:02 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-11-19 15:54:21 +0000 |
commit | 61637968df295a062a156f97843131346d95a33d (patch) | |
tree | 9c41e0f1268c444dafad3dfcf98c0ee03130bc27 /arch/arm/mm | |
parent | 1e00ce0538023c76fb13ebcba48d93543ba3dd7f (diff) |
LCD: fix oops if driver only interested in .set_power
The LCD driver core calls LCD drivers when either the blanking state
or the display mode has changed, but does not make any check to see
if the called driver has a .set_mode method.
This means if a driver only has a .set_power method then the system
will OOPS on changing mode (and with the console semaphore held so
you cannot easily see the problem).
Fix the problem by ensuring that either callback is valid before use.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions