]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ALSA: usb-audio: Add support for MOTU MicroBook IIc
authorAlexander Tsoy <alexander@tsoy.me>
Sat, 29 Feb 2020 15:18:15 +0000 (18:18 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Mar 2020 08:03:17 +0000 (09:03 +0100)
commit2edb84e3047b93da2f2b234219cdc304df042d9e
tree26855fa73e05965f2397f83c7e8022d3d36e2ded
parent66db29588dd6c55591b0f93dc8044a018d78d501
ALSA: usb-audio: Add support for MOTU MicroBook IIc

MicroBook IIc operates in UAC2 mode by default. This patch addresses
several issues with it:

- MicroBook II and IIc shares the same USB ID. We can distinguish them
  by interface class.
- MaxPacketsOnly attribute is erroneously set in endpoint descriptors.
  As a result this card produces noise with all sample rates other than
  96 KHz. This also causes issues like IOMMU page faults and other
  problems with host controller.
- Sample rate changes takes more than 2 seconds for this device. Clock
  validity request returns false during that period, so the clock validity
  quirk is required.

Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Link: https://lore.kernel.org/r/20200229151815.14199-1-alexander@tsoy.me
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c
sound/usb/pcm.c
sound/usb/quirks-table.h
sound/usb/quirks.c