OSDN Git Service

msm: mdss: dp: fix audio teardown sequence
authorTatenda Chipeperekwa <tatendac@codeaurora.org>
Fri, 30 Sep 2016 01:34:22 +0000 (18:34 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 7 Oct 2016 17:32:18 +0000 (10:32 -0700)
commit0cfcf4427c9f8dd0afdd10efedeb981ea088a542
tree4e828394db9429d7bea805eb219945f7fc4b5e6d
parent3c7400dc73db9b1455032e8d6e7679f27869cd75
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>
drivers/video/fbdev/msm/mdss_dp.c
drivers/video/fbdev/msm/mdss_dp.h
drivers/video/fbdev/msm/msm_ext_display.c
include/linux/msm_ext_display.h