clear-pkgs-linux-iot-lts2018/0451-REVERTME-Increase-tdf8...

51 lines
1.6 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Gustaw Lewandowski <gustaw.lewandowski@intel.com>
Date: Mon, 17 Sep 2018 11:27:02 +0200
Subject: [PATCH] REVERTME: Increase tdf8532 timeout and number of retries for
audio ROM
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
index 6e3f2c147eac..39353a04b3ba 100644
--- 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
index 76266d3945e7..f66aae4c229f 100644
--- 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)
--
https://clearlinux.org