ALSA: timer: Relax start tick time check for slave timer elements
authorTakashi Iwai <tiwai@suse.de>
Sat, 10 Aug 2024 08:48:32 +0000 (10:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 10 Aug 2024 08:49:14 +0000 (10:49 +0200)
commitccbfcac05866ebe6eb3bc6d07b51d4ed4fcde436
tree1748dc74e0a11c9df21632a312f151fe15916f50
parentd3e82ced462b4ed956504b62603a11d52a599f99
ALSA: timer: Relax start tick time check for slave timer elements

The recent addition of a sanity check for a too low start tick time
seems breaking some applications that uses aloop with a certain slave
timer setup.  They may have the initial resolution 0, hence it's
treated as if it were a too low value.

Relax and skip the check for the slave timer instance for addressing
the regression.

Fixes: 4a63bd179fa8 ("ALSA: timer: Set lower bound of start tick time")
Cc: <stable@vger.kernel.org>
Link: https://github.com/raspberrypi/linux/issues/6294
Link: https://patch.msgid.link/20240810084833.10939-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c