Wolfram Stering 8b53b7fb57 mx3fb: fix NULL pointer dereference in screen blanking.
When blanking an already blanked framebuffer, a kernel NULL pointer
dereference occurred, because mx3fb driver handles all kinds of screen
blanking (normal, vsync suspend, powerdown) in the same way.
Certain programs (Xorg X11 server) first do a normal blank, followed by
a powerdown blank, which triggered the bug.

Add an additional safeguard and make sdc_disable_channel() safe against
multiple calls independent of other logic.

Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2011-10-03 15:52:32 +00:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-10-03 15:52:22 +00:00
2010-10-15 15:53:27 +02:00
2011-10-03 15:52:22 +00:00
2011-03-22 17:43:59 -07:00
2011-10-03 15:52:22 +00:00
2011-03-22 17:43:59 -07:00
2011-07-26 16:49:47 -07:00
2011-10-03 15:52:22 +00:00
2011-03-31 11:26:23 -03:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2009-12-16 07:20:04 -08:00
2009-05-06 16:36:10 -07:00
2011-09-01 00:31:05 +00:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:32 +09:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2011-09-14 16:40:52 +00:00
2008-04-28 08:58:41 -07:00
2011-10-03 15:52:22 +00:00
2011-03-31 11:26:23 -03:00
2011-10-03 15:52:22 +00:00
2011-10-03 15:52:22 +00:00
2011-10-03 15:52:22 +00:00
2010-12-21 01:05:43 +09:00
2011-10-03 15:52:22 +00:00
2011-10-03 15:52:22 +00:00
2010-05-25 08:07:09 -07:00
2011-06-24 17:14:39 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2011-10-03 15:52:22 +00:00
2011-06-24 17:14:39 +09:00
2010-02-27 18:31:13 +01:00
2011-07-04 16:02:48 +09:00
2011-10-03 15:52:22 +00:00
2011-03-31 11:26:23 -03:00