summaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/nvidia')
-rw-r--r--drivers/video/nvidia/nvidia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 6105753..7c36b5f 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -1016,7 +1016,7 @@ static int nvidiafb_release(struct fb_info *info, int user)
par->open_count--;
done:
mutex_unlock(&par->open_lock);
- return 0;
+ return err;
}
static struct fb_ops nvidia_fb_ops = {
OpenPOWER on IntegriCloud