diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2011-09-02 19:24:03 +0200 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-09-02 18:21:21 +0000 |
commit | 4a47a0e09c504e3ce0ccdb405411aefc5b09deb8 (patch) | |
tree | 32e0067576ef3c70bceb8747b763744e21decf13 /drivers/video/Kconfig | |
parent | 9e769ff3f585db8f978f9113be83d36c7e3965dd (diff) | |
download | linux-4a47a0e09c504e3ce0ccdb405411aefc5b09deb8.tar.bz2 |
fb: sh-mobile: Fix deadlock risk between lock_fb_info() and console_lock()
Following on Herton's patch "fb: avoid possible deadlock caused by
fb_set_suspend" which moves lock_fb_info() out of fb_set_suspend()
to its callers, correct sh-mobile's locking around call to
fb_set_suspend() and the same sort of deaklocks with console_lock()
due to order of taking the lock.
console_lock() must be taken while fb_info is already locked and fb_info
must be locked while calling fb_set_suspend().
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/video/Kconfig')
0 files changed, 0 insertions, 0 deletions