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>
Mon, 15 Nov 2010 04:34:37 +0000 (14:34 +1000)
commita41c73e04673b47730df682446f0d52f95e32a5b
tree70391c25f6b4c6ee1418f755f80cf5aded3b5029
parentfba4312e223f1187efc8c083daed70e57fa9c9d3
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