OSDN Git Service

ASoC: rt1015: increase the time to detect BCLK
authorShuming Fan <shumingf@realtek.com>
Fri, 13 Nov 2020 09:21:25 +0000 (17:21 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 13 Nov 2020 14:20:42 +0000 (14:20 +0000)
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>
sound/soc/codecs/rt1015.c

index 9671935..3db0729 100644 (file)
@@ -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);