[COMMON] g2d: unlock the spinlock on error handling
authorhyesoo.yu <hyesoo.yu@samsung.com>
Wed, 19 Jul 2017 13:40:11 +0000 (22:40 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:27:30 +0000 (14:27 +0900)
commitc1a05fd2c595f2e6e8a6a37c45bafbdff115105e
tree08d93381f583450a7601dffd9c49f7ef191095a8
parent41616ea46a5c0d56bd7201c8860f3944d85aaca1
[COMMON] g2d: unlock the spinlock on error handling

The workqueue must be terminated after the spinlock
has been released. However, that is missing when
handing of suspend, so fix it.

BUG: workqueue leaked lock or atomic: kworker/u16:8/0x00000001/5856

Change-Id: I6f9a36095dd9673dd57e38f24a3d306e1407529a
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_task.c