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:
70edad0
)
rk hdmi: fix hdmi win state err when suspend
author
zwl
<zwl@rock-chips.com>
Wed, 14 May 2014 06:33:35 +0000
(14:33 +0800)
committer
zwl
<zwl@rock-chips.com>
Wed, 14 May 2014 06:34:03 +0000
(14:34 +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 135688f8ecbfaf2211b9b6dbe937cebdd5194944..fecf87d254566e9d6f466b5de552a7d7a1dc71e5 100755
(executable)
--- a/
drivers/video/rockchip/hdmi/rk_hdmi_task.c
+++ b/
drivers/video/rockchip/hdmi/rk_hdmi_task.c
@@
-119,10
+119,11
@@
static int hdmi_process_command(struct hdmi *hdmi)
mutex_lock(&hdmi->enable_mutex);
if(!hdmi->enable || hdmi->suspend)
{
- if(hdmi->hotplug == HDMI_HPD_ACTIVED)
+ if(hdmi->hotplug != HDMI_HPD_REMOVED) {
+ hdmi->hotplug = HDMI_HPD_REMOVED;
hdmi_sys_remove(hdmi);
+ }
hdmi->state = HDMI_SLEEP;
- hdmi->hotplug = HDMI_HPD_REMOVED;
hdmi->remove(hdmi);
state = HDMI_SLEEP;
}