rk: fb: fix earlysuspend bug
author黄涛 <huangtao@rock-chips.com>
Thu, 31 May 2012 01:31:35 +0000 (09:31 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 31 May 2012 01:43:26 +0000 (09:43 +0800)
commitedcb4494a6738058a009d00216f3e0a2c3cf8284
treea6aab317da27b6480cea33e8892f8143afb40ae5
parent193a36f0962127f3c6b732cfcd414a6a8fd83f3e
rk: fb: fix earlysuspend bug

fix this bug:
rk30_pm_power_off start...
Unable to handle kernel NULL pointer dereference at virtual address 00000054
pgd = c0404000
[00000054] *pgd=00000000pre WM831X_POWER_STATE = 0x8800
wm831x_last_deinit

Internal error: Oops: 17 [#1] PREEMPT SMP
CPU: 0    Tainted: G         C   (3.0.8+ #2)
PC is at rkfb_early_suspend+0x18/0x70
LR is at early_suspend+0xc4/0x12c
drivers/video/rockchip/rk_fb.c