ALSA: usb-audio: Move txfr_quirk handling to quirk_flags
The txfr_quirk field was meant for aligning the transfer, and it's set for certain devices in quirks-table.h. Now we can move that stuff also to the new quirk_flags gracefully, and reduce the quirks-table.h entries (that are exposed to module device table). As the quirks-table.h entries are also with the name string override, provide the corresponding entries to the usb_audio_names[] table, too. Link: https://lore.kernel.org/r/20210729073855.19043-4-tiwai@suse.de Signed-off-by:Takashi Iwai <tiwai@suse.de>
Showing
- sound/usb/card.c 21 additions, 0 deletionssound/usb/card.c
- sound/usb/quirks-table.h 1 addition, 51 deletionssound/usb/quirks-table.h
- sound/usb/quirks.c 21 additions, 31 deletionssound/usb/quirks.c
- sound/usb/stream.c 1 addition, 1 deletionsound/usb/stream.c
- sound/usb/usbaudio.h 4 additions, 2 deletionssound/usb/usbaudio.h
Loading
Please register or sign in to comment