summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTatenda Chipeperekwa <tatendac@codeaurora.org>2016-09-29 18:34:22 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-07 10:32:18 -0700
commit0cfcf4427c9f8dd0afdd10efedeb981ea088a542 (patch)
tree4e828394db9429d7bea805eb219945f7fc4b5e6d /include/linux
parent3c7400dc73db9b1455032e8d6e7679f27869cd75 (diff)
msm: mdss: dp: fix audio teardown sequence
First update the audio switch node to indicate that the cable was disconnected. Wait for the audio codec to indicate that the teardown of the audio path has been completed, timing out after three seconds. This ensures that the audio framework will start and end the audio teardown while the interface VSync is still running, ensuring a graceful shutdown of the audio path. CRs-Fixed: 1074218 Change-Id: Ia9c792613e5cd9ac273185c6b2f4b30b5df67496 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/msm_ext_display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/msm_ext_display.h b/include/linux/msm_ext_display.h
index 873a778d5370..59ba776b5f9b 100644
--- a/include/linux/msm_ext_display.h
+++ b/include/linux/msm_ext_display.h
@@ -108,6 +108,7 @@ struct msm_ext_disp_audio_codec_ops {
struct msm_ext_disp_audio_edid_blk *blk);
int (*cable_status)(struct platform_device *pdev, u32 vote);
int (*get_intf_id)(struct platform_device *pdev);
+ void (*teardown_done)(struct platform_device *pdev);
};
/*