diff options
| author | Takashi Sakamoto <[email protected]> | 2022-11-30 13:06:04 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2022-11-30 15:15:02 +0000 |
| commit | 9b84f0f74d0d716e3fd18dc428ac111266ef5844 (patch) | |
| tree | d8423647951c3ef2509560c6ca818156aaa27b8b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Merge tag 'asoc-fix-v6.1-rc6' of https://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-9b84f0f74d0d716e3fd18dc428ac111266ef5844.tar.gz kernel-9b84f0f74d0d716e3fd18dc428ac111266ef5844.zip | |
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 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: <[email protected]>
Signed-off-by: Takashi Sakamoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
