drm/tegra: fix error return code in gr2d_submit()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 24 Apr 2013 06:50:51 +0000 (14:50 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Sat, 25 May 2013 10:32:51 +0000 (12:32 +0200)
commit2639f2bf68e4c1bafafc0feca3e16cdad2333a82
tree5c127537c68641b61a87fcb0e9d75837bca48374
parentb6f2056f3b259960b0cb6a6cf440b89f2567d586
drm/tegra: fix error return code in gr2d_submit()

Fix to return -ENOENT in the host1x_bo lookup error handling
case instead of 0, as done elsewhere in this function.

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