summaryrefslogtreecommitdiff
path: root/sound/x86
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-01-02 18:07:58 +0100
committerTakashi Iwai <tiwai@suse.de>2023-01-04 09:53:54 +0100
commitd463ac1acb454fafed58f695cb3067fbf489f3a0 (patch)
tree13b405563acba4cf654405b70a0b1a7058945620 /sound/x86
parent0599313e26666e79f6e7fe1450588431b8cb25d5 (diff)
downloadlinux-d463ac1acb454fafed58f695cb3067fbf489f3a0.tar.gz
linux-d463ac1acb454fafed58f695cb3067fbf489f3a0.tar.bz2
linux-d463ac1acb454fafed58f695cb3067fbf489f3a0.zip
ALSA: usb-audio: Relax hw constraints for implicit fb sync
The fix commit the commit e4ea77f8e53f ("ALSA: usb-audio: Always apply the hw constraints for implicit fb sync") tried to address the bug where an incorrect PCM parameter is chosen when two (implicit fb) streams are set up at the same time. This change had, however, some side effect: once when the sync endpoint is chosen and set up, this restriction is applied at the next hw params unless it's freed via hw free explicitly. This patch is a workaround for the problem by relaxing the hw constraints a bit for the implicit fb sync. We still keep applying the hw constraints for implicit fb sync, but only when the matching sync EP is being used by other streams. Fixes: e4ea77f8e53f ("ALSA: usb-audio: Always apply the hw constraints for implicit fb sync") Reported-by: Ruud van Asseldonk <ruud@veniogames.com> Link: https://lore.kernel.org/r/4e509aea-e563-e592-e652-ba44af6733fe@veniogames.com Link: https://lore.kernel.org/r/20230102170759.29610-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86')
0 files changed, 0 insertions, 0 deletions