2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-10-19 12:18:58 +08:00
|
|
|
From: Gustaw Lewandowski <gustaw.lewandowski@intel.com>
|
|
|
|
Date: Mon, 17 Sep 2018 11:27:02 +0200
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] REVERTME: Increase tdf8532 timeout and number of retries for
|
|
|
|
audio ROM
|
2018-10-19 12:18:58 +08:00
|
|
|
|
|
|
|
This is WA for delays in ROM init and ACK timeout for tdf8532 codec.
|
|
|
|
New values at this patch are set to very high so this patch should be
|
|
|
|
reverted after RC will be know or new reasonable values be established.
|
|
|
|
|
|
|
|
Tracked-On:
|
|
|
|
Change-Id: I4e8145a8711ef9ff737a80028f9e22d9a991f4b4
|
|
|
|
Signed-off-by: Gustaw Lewandowski <gustaw.lewandowski@intel.com>
|
|
|
|
Reviewed-on:
|
|
|
|
Reviewed-by: Rojewski, Cezary <cezary.rojewski@intel.com>
|
|
|
|
Tested-by: Rojewski, Cezary <cezary.rojewski@intel.com>
|
|
|
|
---
|
|
|
|
sound/soc/codecs/tdf8532.h | 2 +-
|
|
|
|
sound/soc/intel/skylake/bxt-sst.c | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/sound/soc/codecs/tdf8532.h b/sound/soc/codecs/tdf8532.h
|
2020-10-27 02:14:06 +08:00
|
|
|
index 6e3f2c147eac..39353a04b3ba 100644
|
2018-10-19 12:18:58 +08:00
|
|
|
--- a/sound/soc/codecs/tdf8532.h
|
|
|
|
+++ b/sound/soc/codecs/tdf8532.h
|
|
|
|
@@ -16,7 +16,7 @@
|
|
|
|
#ifndef __TDF8532_H_
|
|
|
|
#define __TDF8532_H_
|
|
|
|
|
|
|
|
-#define ACK_TIMEOUT 300
|
|
|
|
+#define ACK_TIMEOUT 10000
|
|
|
|
|
|
|
|
#define CHNL_MAX 5
|
|
|
|
|
|
|
|
diff --git a/sound/soc/intel/skylake/bxt-sst.c b/sound/soc/intel/skylake/bxt-sst.c
|
2020-10-27 02:14:06 +08:00
|
|
|
index 76266d3945e7..f66aae4c229f 100644
|
2018-10-19 12:18:58 +08:00
|
|
|
--- a/sound/soc/intel/skylake/bxt-sst.c
|
|
|
|
+++ b/sound/soc/intel/skylake/bxt-sst.c
|
|
|
|
@@ -59,7 +59,7 @@
|
|
|
|
/* Delay before scheduling D0i3 entry */
|
|
|
|
#define BXT_D0I3_DELAY 5000
|
|
|
|
|
|
|
|
-#define BXT_FW_INIT_RETRY 3
|
|
|
|
+#define BXT_FW_INIT_RETRY 100
|
|
|
|
|
|
|
|
#define GET_SSP_BASE(N) (N > 4 ? 0x2000 : 0x4000)
|
|
|
|
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-10-19 12:18:58 +08:00
|
|
|
|