]> git.baikalelectronics.ru Git - kernel.git/commit
gma500: Fix lid related crash
authorAlan Cox <alan@linux.intel.com>
Mon, 16 Jul 2012 16:51:50 +0000 (17:51 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 16 Jul 2012 16:20:33 +0000 (09:20 -0700)
commit4c6aac9121aa3f21af9f7a41992f2d482aa176ee
treee8fb87140920808eaf64fb917b01d6349698510e
parenta23eef3496ac9d2d9a409159ca874459c63d2478
gma500: Fix lid related crash

We now set up the lid timer before we set up the backlight.  On some
devices that causes a crash as we do a backlight change before or during
the setup.

As this fixes a crash on boot regression on some setups it ought to go
in ASAP, especially as all the user gets is a blank screen.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Tested-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/gma500/psb_device.c