diff options
| author | Ray Zhang <rayz@codeaurora.org> | 2017-03-28 23:43:44 +0800 |
|---|---|---|
| committer | Ray Zhang <rayz@codeaurora.org> | 2017-04-14 17:51:55 +0800 |
| commit | 839e05b97ae9fd27b2c7e58df5ac8e6ce7aba513 (patch) | |
| tree | 28adccd7ddb554cb883e4e644c74aa0bada4913e /include/linux | |
| parent | 15a311d026dafc7df0402bc767bd437e2bbfb074 (diff) | |
msm: ext_disp: add audio ops to notify codec status
In some cases the audio codec is not ready when display
is up, while the interface driver doesn't know how to
respond without knowing audio codec's status. So add an
audio ops to support this case.
CRs-Fixed: 2010135
Change-Id: I4a19f57858a5ed2999daefc0192d62bef332453b
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/msm_ext_display.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/msm_ext_display.h b/include/linux/msm_ext_display.h index fc53e861eba4..9a03b79e09d7 100644 --- a/include/linux/msm_ext_display.h +++ b/include/linux/msm_ext_display.h @@ -114,6 +114,7 @@ struct msm_ext_disp_intf_ops { * @cable_status: cable connected/disconnected * @get_intf_id: id of connected interface * @acknowledge: acknowledge audio status + * @codec_ready: notify when codec is ready */ struct msm_ext_disp_audio_codec_ops { int (*audio_info_setup)(struct platform_device *pdev, @@ -124,6 +125,7 @@ struct msm_ext_disp_audio_codec_ops { int (*get_intf_id)(struct platform_device *pdev); void (*teardown_done)(struct platform_device *pdev); int (*acknowledge)(struct platform_device *pdev, u32 ack); + void (*codec_ready)(struct platform_device *pdev); }; /* |
