mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
rk hdmi: fix fb switch lead to hdmi no display
This commit is contained in:
@@ -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->cur_screen, 0);
|
||||
rk_fb_switch_screen(hdmi->lcdc->cur_screen, 0, hdmi->lcdc->id);
|
||||
hdmi->set_vif(hdmi, hdmi->lcdc->screen1, 0);
|
||||
rk_fb_switch_screen(hdmi->lcdc->screen1, 0, hdmi->lcdc->id);
|
||||
kobject_uevent_env(&hdmi->ddev->dev->kobj, KOBJ_REMOVE, envp);
|
||||
|
||||
#ifdef CONFIG_SWITCH
|
||||
|
||||
Reference in New Issue
Block a user