[PATCH] drm: radeon: fix error value sign

2010-11-14 Thread Vasiliy Kulikov
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 --- Compile tested. drivers/gpu/drm/radeon/radeon_irq.c |4 ++-- 1 files changed, 2 insertions(+), 2 delet

[PATCH] drm: radeon: fix error value sign

2010-11-14 Thread Vasiliy Kulikov
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 --- Compile tested. drivers/gpu/drm/radeon/radeon_irq.c |4 ++-- 1 files changed, 2 insertions(+), 2 delet