acrn-kernel/sound/firewire/dice
Takashi Sakamoto 9b84f0f74d ALSA: dice: fix regression for Lexicon I-ONIX FW810S
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 41319eb56e ("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: 41319eb56e ("ALSA: dice: wait just for NOTIFY_CLOCK_ACCEPTED after GLOBAL_CLOCK_SELECT operation")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20221130130604.29774-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-11-30 16:15:02 +01:00
..
Makefile
dice-alesis.c
dice-extension.c
dice-harman.c ALSA: firewire: Remove some left-over license text in sound/firewire 2022-09-27 08:42:18 +02:00
dice-hwdep.c
dice-interface.h
dice-midi.c
dice-mytek.c
dice-pcm.c ALSA: firewire: Replace runtime->status->state reference to runtime->state 2022-09-27 08:47:25 +02:00
dice-presonus.c ALSA: firewire: Remove some left-over license text in sound/firewire 2022-09-27 08:42:18 +02:00
dice-proc.c
dice-stream.c ALSA: dice: fix regression for Lexicon I-ONIX FW810S 2022-11-30 16:15:02 +01:00
dice-tcelectronic.c ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency 2021-05-18 08:57:54 +02:00
dice-transaction.c ALSA: dice: wait just for NOTIFY_CLOCK_ACCEPTED after GLOBAL_CLOCK_SELECT operation 2021-06-01 18:36:18 +02:00
dice.c ALSA: dice: cease from delayed card registration 2021-06-07 17:14:14 +02:00
dice.h ALSA: dice: cease from delayed card registration 2021-06-07 17:14:14 +02:00