projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5622629
)
video: rockchip: fb: fix update reg kfree data lead to list_del null point
author
Huang Jiachai
<hjc@rock-chips.com>
Mon, 29 Feb 2016 02:33:25 +0000
(10:33 +0800)
committer
Gerrit Code Review
<gerrit@rock-chips.com>
Wed, 2 Mar 2016 11:13:36 +0000
(19:13 +0800)
Change-Id: I5a9f3c795cf6f8ecbe9f45a769135fe890525fab
Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
(cherry picked from commit
fe05c53704fb3b61455dddbae8b5078be0f48a12
)
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index e8eeda5e0764083f319ca5c7196bea8b629ab9e2..9fb1a5eeb20f76b6f27e35d70d18f517a9c1ba94 100644
(file)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-1940,8
+1940,8
@@
static void rk_fb_update_regs_handler(struct kthread_work *work)
mutex_unlock(&dev_drv->update_regs_list_lock);
list_for_each_entry_safe(data, next, &dev_drv->saved_list, list) {
- rk_fb_update_reg(dev_drv, data);
list_del(&data->list);
+ rk_fb_update_reg(dev_drv, data);
}
if (dev_drv->wait_fs && list_empty(&dev_drv->update_regs_list))