[PATCH] ALSA: dice: fix regression for Lexicon I-ONIX FW810S

Takashi Iwai tiwai at suse.de
Wed Nov 30 16:16:27 CET 2022


On Wed, 30 Nov 2022 14:06:04 +0100,
Takashi Sakamoto wrote:
> 
> For Lexicon I-ONIX FW810S, the call of ioctl(2) with
> SNDRV_PCM_IOCTL_HW_PARAMS can returns -ETIMEDOUT. This is a regression due
> to the commit 41319eb56e19 ("ALSA: dice: wait just for
> NOTIFY_CLOCK_ACCEPTED after GLOBAL_CLOCK_SELECT operation"). The device
> does not emit NOTIFY_CLOCK_ACCEPTED notification when accepting
> GLOBAL_CLOCK_SELECT operation with the same parameters as current ones.
> 
> This commit fixes the regression. When receiving no notification, return
> -ETIMEDOUT as long as operating for any change.
> 
> Fixes: 41319eb56e19 ("ALSA: dice: wait just for NOTIFY_CLOCK_ACCEPTED after GLOBAL_CLOCK_SELECT operation")
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list