drm: radeon: fix error value sign
authorVasiliy Kulikov <segoon@openwall.com>
Sun, 14 Nov 2010 20:08:27 +0000 (23:08 +0300)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Nov 2010 04:55:46 +0000 (14:55 +1000)
commit21e2eae4daaecf2f2a391e4f4b596c800f198edf
tree70391c25f6b4c6ee1418f755f80cf5aded3b5029
parent16790569eddf4d406a16a65f4750f405fa669c52
drm: radeon: fix error value sign

enable_vblank implementations should use negative result to indicate error.
radeon_enable_vblank() returns EINVAL in this case.  Change this to -EINVAL.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_irq.c