]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/tegra: fix missing unlock on error
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 24 Apr 2013 02:48:23 +0000 (10:48 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Sat, 25 May 2013 10:32:50 +0000 (12:32 +0200)
commitb6f2056f3b259960b0cb6a6cf440b89f2567d586
tree5f8669d56b4606eb54f92abe54b70e3be3e6a3ad
parented683aead1962f2242c8dc8863517bcd3089703d
drm/tegra: fix missing unlock on error

Add the missing unlock before return from function host1x_drm_init() and
host1x_drm_exit() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/gpu/host1x/drm/drm.c