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>
This commit is contained in:
parent
7c2a9acf85
commit
4cdb82b95a
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ unpin:
|
||||||
fail:
|
fail:
|
||||||
drm_gem_object_unreference_unlocked(obj);
|
drm_gem_object_unreference_unlocked(obj);
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int radeon_crtc_cursor_move(struct drm_crtc *crtc,
|
int radeon_crtc_cursor_move(struct drm_crtc *crtc,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue