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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:11:40 +0000 (11:11 +0200)
commit10a8c5d7d393cce6c3cb07f350cf93cdf1fe2505
treea3cbcf1b175e98148821d7dd38d24e5476ff2590
parent06c0204a6e80f50ed8799130b8cbf7983460ce42
Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"

commit 79764ec772bc1346441ae1c4b1f3bd1991d634e8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/endpoint.c
sound/usb/endpoint.h
sound/usb/pcm.c