Add the detection for read the calibration data to adjust speaker performance.
Root cause:
Need to detect calibration data for speaker component differences.
How to fix:
1. Read the calibration data from persist to adjust speaker performance.
RiskArea: speaker
Change-Id: Ib3e9aaa3bc8a55fe4bbf99061c7d71b8ace810ac
diff --git a/sound/soc/codecs/tas2557/tas2557-core.c b/sound/soc/codecs/tas2557/tas2557-core.c
index 9109f8d..693065a 100644
--- a/sound/soc/codecs/tas2557/tas2557-core.c
+++ b/sound/soc/codecs/tas2557/tas2557-core.c
@@ -46,7 +46,10 @@
#define PPC_DRIVER_MTPLLSRC 0x00000400
#define PPC_DRIVER_CFGDEV_NONCRC 0x00000101
-#define TAS2557_CAL_NAME "/data/tas2557_cal.bin"
+//[FairPhone][Audio][jinjia]=2020.07.01=Read the calibration data from persist to adjust speaker performance. -s
+//#define TAS2557_CAL_NAME "/data/tas2557_cal.bin"
+#define TAS2557_CAL_NAME "/mnt/vendor/persist/tas2557_cal.bin"
+//[FairPhone][Audio][jinjia]=2020.07.01=Read the calibration data from persist to adjust speaker performance. -e
#define RESTART_MAX 3
static int tas2557_load_calibration(struct tas2557_priv *pTAS2557,