]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ab8500: add range to usleep_range
authorNicholas Mc Guire <hofrat@opentech.at>
Sun, 7 Apr 2019 02:59:34 +0000 (04:59 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Apr 2019 07:02:50 +0000 (14:02 +0700)
commitfc1b72e04333ab08731292444894247f9b35b09e
treeb797862b5a36b0e32a9a9289c9ef9dc63694e627
parente0b1c30695fdf88e8197d3bcf8bba19be2822a06
ASoC: ab8500: add range to usleep_range

Providing a range for usleep_range() allows the hrtimer subsystem to
coalesce timers - as this delay has no upper limit anyway (interrupts
or context switch is possible) it should not hurt to extend this
from 2 to 2-4 milliseconds.

Signed-off-by: Nicholas Mc Guire <hofrat@opentech.at>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ab8500-codec.c