drm/radeon/kms: return ret in cursor_set failure path
authorMatt Turner <mattst88@gmail.com>
Sat, 19 Jun 2010 18:13:45 +0000 (14:13 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Jul 2010 01:59:27 +0000 (11:59 +1000)
commit4cdb82b95a48a64e5c20bffd63a549675c0d4848
tree079d3ecf29042df3483648b3f2b6b9cac1fb1662
parent7c2a9acf856f150a9fc3efbaa0be44f97c30f6ca
drm/radeon/kms: return ret in cursor_set failure path

We were returning 0 in both the success and failure paths. Noticed while
investigating FDO bug 26403.

Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cursor.c