From 124de7e30c1e344ea2d5086d930e8bdc165e9513 Mon Sep 17 00:00:00 2001 From: Pradnya Chaphekar Date: Wed, 27 Aug 2014 09:42:22 -0700 Subject: [PATCH] hal: Remove setting DAP bypass /DAP on from HAL -DAP bypass / DAP on will be set from audioflinger when HDMI passthrough starts and ends. -Setting it from HAL has state mismatch between app/ effect library and dap hal. CRs-Fixed: 761339 Change-Id: I62b7fe693b1bac71db585ab90ae54a231f0dfd5b --- hal/audio_hw.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hal/audio_hw.c b/hal/audio_hw.c index ca5055b5..1a14ec29 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c @@ -1441,10 +1441,6 @@ int start_output_stream(struct stream_out *out) if (out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) { if (is_offload_usecase(out->usecase)) { if (audio_extn_dolby_is_passthrough_stream(out->flags)) { - ret = audio_extn_dolby_set_dap_bypass(adev, DAP_STATE_BYPASS); - if(ret != 0) { - goto error_open; - } audio_extn_dolby_update_passt_stream_configuration(adev, out); } }