Skip to content

Commit

Permalink
Revert "ALSA: timer: Set lower bound of start tick time"
Browse files Browse the repository at this point in the history
This reverts commit abb1ad6.

See: #6294

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Aug 7, 2024
1 parent 64b9445 commit c64bb7e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sound/core/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,14 +544,6 @@ static int snd_timer_start1(struct snd_timer_instance *timeri,
SNDRV_TIMER_IFLG_START))
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)
timeri->ticks = timeri->cticks = ticks;
else if (!timeri->cticks)
Expand Down

0 comments on commit c64bb7e

Please sign in to comment.