mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
nvidiafb: fix return value of nvidiafb_open()
Fix return value of nvidiafb_open(). Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0449359f05
commit
2620c6e317
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user