Skip to content
Commit 07f651c7 authored by Eric Miao's avatar Eric Miao
Browse files

[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: default avatarEric Miao <eric.miao@marvell.com>
parent 69bdea70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment