summaryrefslogtreecommitdiff
path: root/sound/core/timer.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-19 06:16:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-19 06:16:49 +0200
commitca7df2c7bb5f83fe46aa9ce998b7352c6b28f3a1 (patch)
treef0304a9068bea0b80ba7ed07c0192927c6fcea8f /sound/core/timer.c
parent82313624b2ae5a943d16475a566b65c873989e9f (diff)
parent47ac09b91befbb6a235ab620c32af719f8208399 (diff)
Merge 6.11-rc4 into usb-next
We need the usb / thunderbolt fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/core/timer.c')
-rw-r--r--sound/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/timer.c b/sound/core/timer.c
index d104adc75a8b..71a07c1662f5 100644
--- a/sound/core/timer.c
+++ b/sound/core/timer.c
@@ -547,7 +547,7 @@ static int snd_timer_start1(struct snd_timer_instance *timeri,
/* check the actual time for the start tick;
* bail out as error if it's way too low (< 100us)
*/
- if (start) {
+ if (start && !(timer->hw.flags & SNDRV_TIMER_HW_SLAVE)) {
if ((u64)snd_timer_hw_resolution(timer) * ticks < 100000)
return -EINVAL;
}