Merge "hal: Change path for cal file generation for qcs405"
diff --git a/hal/audio_extn/spkr_protection.c b/hal/audio_extn/spkr_protection.c
index 427e570..1347cf9 100644
--- a/hal/audio_extn/spkr_protection.c
+++ b/hal/audio_extn/spkr_protection.c
@@ -96,7 +96,11 @@
#define MAX_RESISTANCE_SPKR_Q24 (40 * (1 << 24))
/*Path where the calibration file will be stored*/
+#ifdef LINUX_ENABLED
+#define CALIB_FILE "/data/audio/audio.cal"
+#else
#define CALIB_FILE "/data/vendor/misc/audio/audio.cal"
+#endif
/*Time between retries for calibartion or intial wait time
after boot up*/