hal: update AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND for 8084 platform

On msm8084, wired headset/headphone/lineout devices are handled
by slimbus backend and does not share the same backend with
speaker and earpiece devices. Remove those devices from
AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND.

Change-Id: I7767335994a04a854a4ddad01fc7e97a7a6b0340
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index 63626d1..d5f45f4 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -18,15 +18,21 @@
 #define QCOM_AUDIO_PLATFORM_H
 
 /*
- * 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
+ * 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.
  */
+#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