commit | 07f651c72ac0530033883c113939d9b9c7fa75e5 | [log] [tgz] |
---|---|---|
author | Eric Miao <eric.miao@marvell.com> | Mon Dec 08 18:51:01 2008 +0800 |
committer | Eric Miao <eric.miao@marvell.com> | Wed Dec 17 22:51:04 2008 +0800 |
tree | 955308697de170af5809b8be4552ea6d05fabeef | |
parent | 69bdea7047fbac88beb8b7ba9e428c4f0e53f563 [diff] |
[ARM] pxafb: avoid the racing condition in pxafb_smart_thread fbi->state change shall really be protected by fbi->ctrlr_lock, where the change is sheltered. There is a possibility that pxafb_smart_thread will start update the LCD panel when fbi->state == C_ENABLE, while all other initialization isn't done. Signed-off-by: Eric Miao <eric.miao@marvell.com>