Revert "hal: update AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND for 8084 platform"
This reverts commit 1ff0fb1b171154203707b96d507d524a7485af8c.
Bug: 21581860.
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index c76c700..ccb6787 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -18,21 +18,15 @@
#define QCOM_AUDIO_PLATFORM_H
/*
- * Below are the devices that share the same back end.
- * It is not possible route different streams to different
- * devices that share the same backend.
+ * Below are the devices for which is back end is same, SLIMBUS_0_RX.
+ * All these devices are handled by the internal HW codec. We can
+ * enable any one of these devices at any time
*/
-#ifdef PLATFORM_MSM8084
-#define AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND \
- (AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | \
- AUDIO_DEVICE_OUT_SPEAKER_SAFE)
-#else
#define AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND \
(AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | \
AUDIO_DEVICE_OUT_SPEAKER_SAFE | \
AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE | \
AUDIO_DEVICE_OUT_LINE)
-#endif
/* Sound devices specific to the platform
* The DEVICE_OUT_* and DEVICE_IN_* should be mapped to these sound