Read calibration data for speakers from persist
Use the calibration data from persist partition instead of
data partition to adjust speaker performance.
Issue: FP3-A11#202
Change-Id: Ib3e9aaa3bc8a55fe4bbf99061c7d71b8ace810ac
(cherry picked from commit ee7f73755ef1c4e41736762910f241f96404dc04)
diff --git a/sound/soc/codecs/tas2557/tas2557-core.c b/sound/soc/codecs/tas2557/tas2557-core.c
index 783642c..c5349d38 100755
--- a/sound/soc/codecs/tas2557/tas2557-core.c
+++ b/sound/soc/codecs/tas2557/tas2557-core.c
@@ -46,7 +46,7 @@
#define PPC_DRIVER_MTPLLSRC 0x00000400
#define PPC_DRIVER_CFGDEV_NONCRC 0x00000101
-#define TAS2557_CAL_NAME "/data/tas2557_cal.bin"
+#define TAS2557_CAL_NAME "/mnt/vendor/persist/tas2557_cal.bin"
#define RESTART_MAX 3
static int tas2557_load_calibration(struct tas2557_priv *pTAS2557,