ASoC: wm_adsp: Use usleep_range for short delay
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 26 Sep 2016 09:15:22 +0000 (10:15 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 26 Sep 2016 16:03:53 +0000 (09:03 -0700)
commit1fa96f3fdad7cef5d043a502682580d2bc3d5ace
treed5368da1fead65e3fd7f2c7fda8ebbd786090860
parent5ca7e170e331781fe71acb4919667993bb9fbab6
ASoC: wm_adsp: Use usleep_range for short delay

Replace the 1ms msleep in wm_adsp2_ena with a usleep_range, as per
normal guidance on delay functions. Also tighten up the delay a little
as 1ms was quite generous.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c