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
(from parent 1:
25fd84e
)
rockchip:hdmi: modify the screen to remove when hdmi remove
author
zwl
<zwl@rockchips.com>
Thu, 4 Sep 2014 01:25:24 +0000
(09:25 +0800)
committer
zwl
<zwl@rockchips.com>
Thu, 4 Sep 2014 01:25:24 +0000
(09:25 +0800)
drivers/video/rockchip/hdmi/rk_hdmi_task.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/hdmi/rk_hdmi_task.c
b/drivers/video/rockchip/hdmi/rk_hdmi_task.c
index 9674407bea98f48669f5a5b5564ddcea86a62231..26fffd4399106de080331cf55e28f32b94ccb2c7 100755
(executable)
--- a/
drivers/video/rockchip/hdmi/rk_hdmi_task.c
+++ b/
drivers/video/rockchip/hdmi/rk_hdmi_task.c
@@
-81,8
+81,8
@@
void hdmi_sys_remove(struct hdmi *hdmi)
INIT_LIST_HEAD(&hdmi->edid.modelist);
hdmi->display = HDMI_DISABLE;
if (hdmi->set_vif)
- hdmi->set_vif(hdmi, hdmi->lcdc->
screen1
, 0);
- rk_fb_switch_screen(hdmi->lcdc->
screen1
, 0, hdmi->lcdc->id);
+ hdmi->set_vif(hdmi, hdmi->lcdc->
cur_screen
, 0);
+ rk_fb_switch_screen(hdmi->lcdc->
cur_screen
, 0, hdmi->lcdc->id);
kobject_uevent_env(&hdmi->ddev->dev->kobj, KOBJ_REMOVE, envp);
#ifdef CONFIG_SWITCH