From: Alexey Khoroshilov Date: Sat, 3 Jan 2015 23:31:20 +0000 (+0300) Subject: drm/radeon: do not leave queue acquired if timeout happens in kgd_hqd_destroy() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~306^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c18442e536ec24cc5ca23c5bbaa80bd53020b95;p=pandora-kernel.git drm/radeon: do not leave queue acquired if timeout happens in kgd_hqd_destroy() If timeout happens, kgd_hqd_destroy() just returns -ETIME leaving queue acquired. It may cause a deadlock, so the patch proposes to release queue before return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Oded Gabbay --- Reading git-diff-tree failed