mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
Revert "ALSA: timer: Set lower bound of start tick time"
This reverts commit abb1ad69d9.
See: https://github.com/raspberrypi/linux/issues/6294
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
@@ -544,14 +544,6 @@ static int snd_timer_start1(struct snd_timer_instance *timeri,
|
|||||||
SNDRV_TIMER_IFLG_START))
|
SNDRV_TIMER_IFLG_START))
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
|
|
||||||
/* check the actual time for the start tick;
|
|
||||||
* bail out as error if it's way too low (< 100us)
|
|
||||||
*/
|
|
||||||
if (start) {
|
|
||||||
if ((u64)snd_timer_hw_resolution(timer) * ticks < 100000)
|
|
||||||
return -EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (start)
|
if (start)
|
||||||
timeri->ticks = timeri->cticks = ticks;
|
timeri->ticks = timeri->cticks = ticks;
|
||||||
else if (!timeri->cticks)
|
else if (!timeri->cticks)
|
||||||
|
|||||||
Reference in New Issue
Block a user