diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2013-10-31 18:33:01 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-11 16:29:43 -0800 |
commit | fc0524b0986f994693f06a00c8de1c0469fd7086 (patch) | |
tree | b8ac18220c9bb11adb31e78fd77845704ba1fd8d /drivers/staging/bcm/CmHost.c | |
parent | 9961d59d3fe7b8bd135f4a8506bd7e5f4d919dbe (diff) | |
download | linux-fc0524b0986f994693f06a00c8de1c0469fd7086.tar.gz linux-fc0524b0986f994693f06a00c8de1c0469fd7086.tar.bz2 linux-fc0524b0986f994693f06a00c8de1c0469fd7086.zip |
staging/olpc_docn: reorder the lock sequence to avoid potential dead lock
The lock sequence of dcon_blank_fb(fb_info->lock ---> console_lock) is against
with the one of console_callback(console_lock ---> fb_info->lock), it'll
lead to a potential dead lock, so reorder the lock sequence of dcon_blank_fb
to avoid the potential dead lock.
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/CmHost.c')
0 files changed, 0 insertions, 0 deletions