Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Sep 2022 11:39:29 +0000 (13:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Sep 2022 11:40:18 +0000 (13:40 +0200)
commit79764ec772bc1346441ae1c4b1f3bd1991d634e8
tree1b537279e61dfc46dcca2ec6ee3239a17c5cbdf9
parentc3afa2a402d1ecefa59f88d55d9e765f52f75bd9
Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"

This reverts commit ff878b408a03bef5d610b7e2302702e16a53636e.

Unfortunately the recent fix seems bringing another regressions with
PulseAudio / pipewire, at least for Steinberg and MOTU devices.

As a temporary solution, do a straight revert.  The issue for Android
will be revisited again later by another different fix (if any).

Fixes: ff878b408a03 ("ALSA: usb-audio: Split endpoint setups for hw_params and prepare")
Cc: <stable@vger.kernel.org>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216500
Link: https://lore.kernel.org/r/20220920113929.25162-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c
sound/usb/endpoint.h
sound/usb/pcm.c