diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-11-23 09:53:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-11-23 15:12:26 +0100 |
commit | f6581c0e5d297cc1e0d7eb7c2603097f532e629a (patch) | |
tree | af46db60939f5b822042db7083f30fe8a9e084cf /.gitattributes | |
parent | e93e890e16ef5a0605b7cdc52b3bde50d88d7207 (diff) | |
download | linux-f6581c0e5d297cc1e0d7eb7c2603097f532e629a.tar.bz2 |
ALSA: usb-audio: Track implicit fb sync endpoint in audioformat list
Instead of parsing and evaluating the sync endpoint and the implicit
feedback mode at each time the audio stream is opened, let's parse it
once at the probe time, as the all needed information can be obtained
statically from the descriptor or from the quirk.
This patch extends audioformat struct to record the sync endpoint,
interface and altsetting as well as the implicit feedback flag, which
are filled at parsing the streams. Then, set_sync_endpoint() is much
simplified just to follow the already parsed data.
Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions