mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm_fb: hdmi: Turn on switch dev when connect to HDMI
Audio is not routed to TV after deep sleep and resume. Userspace is dependent on switch device to indentify audio route. When HDMI is turned on, this switch needs to be turned on as well. CRs-Fixed: 377159 Change-Id: I7faaad5ff772ad2045876cc084aa71d120b77139 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
This commit is contained in:
parent
7a86f96a3e
commit
df42878287
1 changed files with 3 additions and 0 deletions
|
@ -840,6 +840,9 @@ static void hdmi_msm_hpd_state_work(struct work_struct *work)
|
|||
DEV_INFO("HDMI HPD: sense CONNECTED: send ONLINE\n");
|
||||
kobject_uevent(external_common_state->uevent_kobj,
|
||||
KOBJ_ONLINE);
|
||||
switch_set_state(&external_common_state->sdev, 1);
|
||||
DEV_INFO("Hdmi state switch to %d: %s\n",
|
||||
external_common_state->sdev.state, __func__);
|
||||
#ifndef CONFIG_FB_MSM_HDMI_MSM_PANEL_HDCP_SUPPORT
|
||||
/* Send Audio for HDMI Compliance Cases*/
|
||||
envp[0] = "HDCP_STATE=PASS";
|
||||
|
|
Loading…
Reference in a new issue