From: Eric Miao Date: Mon, 8 Dec 2008 10:51:01 +0000 (+0800) Subject: [ARM] pxafb: avoid the racing condition in pxafb_smart_thread X-Git-Tag: v2.6.29-rc1~559^2~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07f651c72ac0530033883c113939d9b9c7fa75e5;p=pandora-kernel.git [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 --- Reading git-diff-tree failed