projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'topic/misc' into for-linus
[linux-2.6-microblaze.git]
/
drivers
/
hid
/
hid-picolcd.c
diff --git
a/drivers/hid/hid-picolcd.c
b/drivers/hid/hid-picolcd.c
index
346f0e3
..
bc2e077
100644
(file)
--- a/
drivers/hid/hid-picolcd.c
+++ b/
drivers/hid/hid-picolcd.c
@@
-547,11
+547,11
@@
static void picolcd_fb_destroy(struct fb_info *info)
ref_cnt--;
mutex_lock(&info->lock);
(*ref_cnt)--;
- may_release = !ref_cnt;
+ may_release = !
*
ref_cnt;
mutex_unlock(&info->lock);
if (may_release) {
- framebuffer_release(info);
vfree((u8 *)info->fix.smem_start);
+ framebuffer_release(info);
}
}