Commit 106e6d8d authored by Shuming Fan's avatar Shuming Fan Committed by Mark Brown

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: default avatarShuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20201113092125.19206-1-shumingf@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 93bd813c
...@@ -544,7 +544,7 @@ static void rt1015_flush_work(struct work_struct *work) ...@@ -544,7 +544,7 @@ static void rt1015_flush_work(struct work_struct *work)
struct rt1015_priv *rt1015 = container_of(work, struct rt1015_priv, struct rt1015_priv *rt1015 = container_of(work, struct rt1015_priv,
flush_work.work); flush_work.work);
struct snd_soc_component *component = rt1015->component; struct snd_soc_component *component = rt1015->component;
unsigned int val, i = 0, count = 20; unsigned int val, i = 0, count = 200;
while (i < count) { while (i < count) {
usleep_range(1000, 1500); usleep_range(1000, 1500);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment