ARM: tegra: dc: fix deadlock on overlay wq flush
authorJon Mayo <jmayo@nvidia.com>
Thu, 31 Mar 2011 03:23:39 +0000 (20:23 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:45:00 +0000 (21:45 -0800)
commit5302c213d18981955b967ea4680ce44908be138a
treee37d51ec1aafb0bba3f0e0637918c97c778c4834
parent8e5b4bf943dd301cd6041b80732047ee308b4823
ARM: tegra: dc: fix deadlock on overlay wq flush

dc lock is head while flush occurred, but functions called by workers need
take the dc lock to proceed.

Bug 807015

Original-Change-Id: Id30c5c768947f8f9959b01be3983761a18c5a1e5
Reviewed-on: http://git-master/r/24890
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I6537018e03cfc354af9a7187d2fdd019cfe55960

Rebase-Id: Rc1c42255aef998f6741fe1484356a884479b8ec8
drivers/video/tegra/dc/dc.c