diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2017-01-12 13:09:41 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-12 18:20:59 +0100 |
commit | 4a312c9c825adf74c0026c98fed4ab59ce190863 (patch) | |
tree | 8163116fe25cb3a4b63a2d6938b5cc8583bccd46 /sound/oss/swarm_cs4297a.c | |
parent | ASoC: rt5640: move DAC2 Power to rt5640_dapm_widgets (diff) | |
download | linux-4a312c9c825adf74c0026c98fed4ab59ce190863.tar.xz linux-4a312c9c825adf74c0026c98fed4ab59ce190863.zip |
ASoC: rt5640: use msleep() for long delays
ulseep_range() uses hrtimers and provides no advantage over msleep()
for larger delays. Fix up the 70/80ms delays here passing the "min"
value to msleep(). This reduces the load on the hrtimer subsystem.
Link: http://lkml.org/lkml/2017/1/11/377
Fixes: commit 246693ba7b0b ("ASoC: rt5640: change widget sequence for depop")
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/oss/swarm_cs4297a.c')
0 files changed, 0 insertions, 0 deletions