]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320dac33: Use usleep_range for delays
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Fri, 22 Oct 2010 12:11:20 +0000 (15:11 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Sat, 23 Oct 2010 13:43:08 +0000 (14:43 +0100)
commit7dee06bc6b1ee6243a986085e6f02748f7e7491e
tree04481cde89ca1a72aaa870f58fe8e0d60661d7b0
parent27f9f9a03cbe02b8b2671c14629675e7ef3eb6f3
ASoC: tlv320dac33: Use usleep_range for delays

Switch to use the more precise usleep_range instead of
msleep().
Replace the udelay with usleep_range to remove the busy loop
waiting.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Borwn <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tlv320dac33.c