summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2020-11-13 17:21:25 +0800
committerMark Brown <broonie@kernel.org>2020-11-13 14:20:42 +0000
commit106e6d8df4842d816dae23076c501ae48386afcb (patch)
treedf5e187058565841ebfb9d20b5c131ba7e1a89f5 /sound
parent93bd813c17763177cf87e96c2313bd4dd747d234 (diff)
downloadlinux-106e6d8df4842d816dae23076c501ae48386afcb.tar.bz2
ASoC: rt1015: increase the time to detect BCLK
To meet the most platform, the detection time should be increased to avoid that the flushing DAC data fails. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://lore.kernel.org/r/20201113092125.19206-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt1015.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c
index 967193518349..3db07293c70b 100644
--- a/sound/soc/codecs/rt1015.c
+++ b/sound/soc/codecs/rt1015.c
@@ -544,7 +544,7 @@ static void rt1015_flush_work(struct work_struct *work)
struct rt1015_priv *rt1015 = container_of(work, struct rt1015_priv,
flush_work.work);
struct snd_soc_component *component = rt1015->component;
- unsigned int val, i = 0, count = 20;
+ unsigned int val, i = 0, count = 200;
while (i < count) {
usleep_range(1000, 1500);