Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cdb82b9 authored by Matt Turner's avatar Matt Turner Committed by Dave Airlie
Browse files

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: default avatarMatt Turner <mattst88@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 7c2a9acf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ int radeon_crtc_cursor_set(struct drm_crtc *crtc,
fail:
	drm_gem_object_unreference_unlocked(obj);

	return 0;
	return ret;
}

int radeon_crtc_cursor_move(struct drm_crtc *crtc,