summaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/delta.c
diff options
context:
space:
mode:
authorXiubo Li <lixiubo@cmss.chinamobile.com>2016-01-15 19:35:25 +0800
committerMark Brown <broonie@kernel.org>2016-01-22 16:48:34 +0000
commit0d55ad456337487e8cdb72acdd520050e575a0bd (patch)
treea2110934423c2848e961cbe6e192560244726d46 /sound/pci/ice1712/delta.c
parent822ad70a2f5c420da5baa9f4354e6b7813ca6da9 (diff)
downloadlinux-0d55ad456337487e8cdb72acdd520050e575a0bd.tar.bz2
ASoC: fsl-mpc5200: Use usleep_range() instead of msleep()
Since msleep() will sleep longer than intended time for values less than 20ms, this patch allows the use of usleep_range for just 1ms. usleep_range is a finer precision implementation of msleep and is designed to be a drop-in replacement for udelay where a precise sleep/busy-wait is unnecessary. More details see Documentation/timers/timers-howto.txt. Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/pci/ice1712/delta.c')
0 files changed, 0 insertions, 0 deletions