Merge tag 'LA.UM.9.12.c25-03000-SMxx50.QSSI13c28.0' of https://git.codelinaro.org/clo/la/kernel/msm-4.19 into android13-4.19-kona
"LA.UM.9.12.c25-03000-SMxx50.QSSI13c28.0" * tag 'LA.UM.9.12.c25-03000-SMxx50.QSSI13c28.0' of https://git.codelinaro.org/clo/la/kernel/msm-4.19: msm: npu: patch adjustment for CR3989614 adsprpc: Add attribute and flag checks during map creation UPSTREAM: ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices ALSA: usb-audio: Add quirk for MOTU MicroBook II Revert "ALSA: usb-audio: Add quirk for MOTU MicroBook II" Revert "UPSTREAM: ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices" UPSTREAM: ALSA: usb-audio: Fix out of bounds reads when finding clock sources UPSTREAM: ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices ALSA: usb-audio: Add quirk for MOTU MicroBook II UPSTREAM: vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans FROMGIT: media: venus: hfi: add a check to handle OOB in sfr region FROMGIT: media: venus: hfi: add check to handle incorrect queue size FROMGIT: media: venus: hfi_parser: refactor hfi packet parsing logic FROMGIT: media: venus: hfi_parser: add check to avoid out of bound access UPSTREAM: HID: core: zero-initialize the report buffer UPSTREAM: USB: media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format msm: eva: Copy back the validated size to avoid security issue msm: adsprpc: Do not search the global map in the process-specific list msm: npu: Fix use after free issue msm: kgsl: Keep the timeline fence valid for logging ANDROID: ABI fixup for abi break in struct dst_ops BACKPORT: net: fix __dst_negative_advice() race net: annotate data-races around sk->sk_dst_pending_confirm af_unix: Fix garbage collector racing against connect() af_unix: Do not use atomic ops for unix_sk(sk)->inflight. af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress memshare: Prevent possible integer overflow . FROMLIST: binder: fix UAF of alloc->vma in race with munmap() UPSTREAM: af_unix: Fix null-ptr-deref in unix_stream_sendpage(). ANDROID: usb: f_accessory: Check buffer size when initialised via composite ext4: fix kernel infoleak via ext4_extent_header UPSTREAM: video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write adsprpc: Handle UAF scenario in put_args msm: adsprpc: use-after-free (UAF) in global maps msm: eva: Adding kref count for cvp_get_inst_from_id msm: kgsl: Fix error handling during drawctxt switch soc: qcom: smem: Add boundary checks for partitions Conflicts: drivers/android/binder_alloc.c drivers/char/adsprpc.c drivers/media/platform/msm/npu/npu_mgr.c include/net/sock.h net/ipv6/route.c net/unix/garbage.c sound/usb/quirks.c Change-Id: Iabfc44d2a9ed771f31c67378517d1d5951fd910b
This commit is contained in:
commit
28e3cef2d1
6 files changed
+248
-28
No files matched your search
@@ -220,7 +220,7 @@ static int binder_update_page_range(struct binder_alloc *alloc, int allocate,
|
||||
mm = alloc->vma_vm_mm;
|
||||
|
||||
if (mm) {
|
||||
down_read(&mm->mmap_sem);
|
||||
down_write(&mm->mmap_sem);
|
||||
vma = alloc->vma;
|
||||
}
|
||||
|
||||
@@ -279,7 +279,7 @@ static int binder_update_page_range(struct binder_alloc *alloc, int allocate,
|
||||
/* vm_insert_page does not seem to increment the refcount */
|
||||
}
|
||||
if (mm) {
|
||||
up_read(&mm->mmap_sem);
|
||||
up_write(&mm->mmap_sem);
|
||||
mmput_async(mm);
|
||||
}
|
||||
return 0;
|
||||
@@ -312,7 +312,7 @@ err_page_ptr_cleared:
|
||||
}
|
||||
err_no_vma:
|
||||
if (mm) {
|
||||
up_read(&mm->mmap_sem);
|
||||
up_write(&mm->mmap_sem);
|
||||
mmput_async(mm);
|
||||
}
|
||||
return vma ? -ENOMEM : -ESRCH;
|
||||
|
||||
@@ -780,6 +780,10 @@ static int fastrpc_mmap_find(struct fastrpc_file *fl, int fd,
|
||||
if ((va + len) < va)
|
||||
return -EOVERFLOW;
|
||||
|
||||
if ((mflags == ADSP_MMAP_HEAP_ADDR) ||
|
||||
(mflags == ADSP_MMAP_REMOTE_HEAP_ADDR))
|
||||
return -EFAULT;
|
||||
|
||||
hlist_for_each_entry_safe(map, n, &fl->maps, hn) {
|
||||
if (va >= map->va &&
|
||||
va + len <= map->va + map->len &&
|
||||
|
||||
@@ -65,7 +65,7 @@ fill_buf_mode(struct venus_caps *cap, const void *data, unsigned int num)
|
||||
cap->cap_bufs_mode_dynamic = true;
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
{
|
||||
struct hfi_buffer_alloc_mode_supported *mode = data;
|
||||
@@ -73,7 +73,7 @@ parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
u32 *type;
|
||||
|
||||
if (num_entries > MAX_ALLOC_MODE_ENTRIES)
|
||||
return;
|
||||
return -EINVAL;
|
||||
|
||||
type = mode->data;
|
||||
|
||||
@@ -85,6 +85,8 @@ parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
|
||||
type++;
|
||||
}
|
||||
|
||||
return sizeof(*mode);
|
||||
}
|
||||
|
||||
static void fill_profile_level(struct venus_caps *cap, const void *data,
|
||||
@@ -99,7 +101,7 @@ static void fill_profile_level(struct venus_caps *cap, const void *data,
|
||||
cap->num_pl += num;
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
{
|
||||
struct hfi_profile_level_supported *pl = data;
|
||||
@@ -107,12 +109,14 @@ parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
struct hfi_profile_level pl_arr[HFI_MAX_PROFILE_COUNT] = {};
|
||||
|
||||
if (pl->profile_count > HFI_MAX_PROFILE_COUNT)
|
||||
return;
|
||||
return -EINVAL;
|
||||
|
||||
memcpy(pl_arr, proflevel, pl->profile_count * sizeof(*proflevel));
|
||||
|
||||
for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain,
|
||||
fill_profile_level, pl_arr, pl->profile_count);
|
||||
|
||||
return pl->profile_count * sizeof(*proflevel) + sizeof(u32);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -127,7 +131,7 @@ fill_caps(struct venus_caps *cap, const void *data, unsigned int num)
|
||||
cap->num_caps += num;
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
{
|
||||
struct hfi_capabilities *caps = data;
|
||||
@@ -136,12 +140,14 @@ parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
struct hfi_capability caps_arr[MAX_CAP_ENTRIES] = {};
|
||||
|
||||
if (num_caps > MAX_CAP_ENTRIES)
|
||||
return;
|
||||
return -EINVAL;
|
||||
|
||||
memcpy(caps_arr, cap, num_caps * sizeof(*cap));
|
||||
|
||||
for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain,
|
||||
fill_caps, caps_arr, num_caps);
|
||||
|
||||
return sizeof(*caps);
|
||||
}
|
||||
|
||||
static void fill_raw_fmts(struct venus_caps *cap, const void *fmts,
|
||||
@@ -156,7 +162,7 @@ static void fill_raw_fmts(struct venus_caps *cap, const void *fmts,
|
||||
cap->num_fmts += num_fmts;
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
{
|
||||
struct hfi_uncompressed_format_supported *fmt = data;
|
||||
@@ -165,7 +171,8 @@ parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
struct raw_formats rawfmts[MAX_FMT_ENTRIES] = {};
|
||||
u32 entries = fmt->format_entries;
|
||||
unsigned int i = 0;
|
||||
u32 num_planes;
|
||||
u32 num_planes = 0;
|
||||
u32 size;
|
||||
|
||||
while (entries) {
|
||||
num_planes = pinfo->num_planes;
|
||||
@@ -187,9 +194,13 @@ parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data)
|
||||
|
||||
for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain,
|
||||
fill_raw_fmts, rawfmts, i);
|
||||
size = fmt->format_entries * (sizeof(*constr) * num_planes + 2 * sizeof(u32))
|
||||
+ 2 * sizeof(u32);
|
||||
|
||||
return size;
|
||||
}
|
||||
|
||||
static void parse_codecs(struct venus_core *core, void *data)
|
||||
static int parse_codecs(struct venus_core *core, void *data)
|
||||
{
|
||||
struct hfi_codec_supported *codecs = data;
|
||||
|
||||
@@ -201,21 +212,27 @@ static void parse_codecs(struct venus_core *core, void *data)
|
||||
core->dec_codecs &= ~HFI_VIDEO_CODEC_SPARK;
|
||||
core->enc_codecs &= ~HFI_VIDEO_CODEC_HEVC;
|
||||
}
|
||||
|
||||
return sizeof(*codecs);
|
||||
}
|
||||
|
||||
static void parse_max_sessions(struct venus_core *core, const void *data)
|
||||
static int parse_max_sessions(struct venus_core *core, const void *data)
|
||||
{
|
||||
const struct hfi_max_sessions_supported *sessions = data;
|
||||
|
||||
core->max_sessions_supported = sessions->max_sessions;
|
||||
|
||||
return sizeof(*sessions);
|
||||
}
|
||||
|
||||
static void parse_codecs_mask(u32 *codecs, u32 *domain, void *data)
|
||||
static int parse_codecs_mask(u32 *codecs, u32 *domain, void *data)
|
||||
{
|
||||
struct hfi_codec_mask_supported *mask = data;
|
||||
|
||||
*codecs = mask->codecs;
|
||||
*domain = mask->video_domains;
|
||||
|
||||
return sizeof(*mask);
|
||||
}
|
||||
|
||||
static void parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain)
|
||||
@@ -249,46 +266,76 @@ static void parser_fini(struct venus_inst *inst, u32 codecs, u32 domain)
|
||||
u32 hfi_parser(struct venus_core *core, struct venus_inst *inst, void *buf,
|
||||
u32 size)
|
||||
{
|
||||
unsigned int words_count = size >> 2;
|
||||
u32 *word = buf, *data, codecs = 0, domain = 0;
|
||||
u32 *words = buf, *payload, codecs = 0, domain = 0;
|
||||
u32 *frame_size = buf + size;
|
||||
u32 rem_bytes = size;
|
||||
int ret;
|
||||
|
||||
if (size % 4)
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
parser_init(inst, &codecs, &domain);
|
||||
|
||||
while (words_count) {
|
||||
data = word + 1;
|
||||
while (words < frame_size) {
|
||||
payload = words + 1;
|
||||
|
||||
switch (*word) {
|
||||
switch (*words) {
|
||||
case HFI_PROPERTY_PARAM_CODEC_SUPPORTED:
|
||||
parse_codecs(core, data);
|
||||
if (rem_bytes <= sizeof(struct hfi_codec_supported))
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
ret = parse_codecs(core, payload);
|
||||
if (ret < 0)
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
init_codecs(core);
|
||||
break;
|
||||
case HFI_PROPERTY_PARAM_MAX_SESSIONS_SUPPORTED:
|
||||
parse_max_sessions(core, data);
|
||||
if (rem_bytes <= sizeof(struct hfi_max_sessions_supported))
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
ret = parse_max_sessions(core, payload);
|
||||
break;
|
||||
case HFI_PROPERTY_PARAM_CODEC_MASK_SUPPORTED:
|
||||
parse_codecs_mask(&codecs, &domain, data);
|
||||
if (rem_bytes <= sizeof(struct hfi_codec_mask_supported))
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
ret = parse_codecs_mask(&codecs, &domain, payload);
|
||||
break;
|
||||
case HFI_PROPERTY_PARAM_UNCOMPRESSED_FORMAT_SUPPORTED:
|
||||
parse_raw_formats(core, codecs, domain, data);
|
||||
if (rem_bytes <= sizeof(struct hfi_uncompressed_format_supported))
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
ret = parse_raw_formats(core, codecs, domain, payload);
|
||||
break;
|
||||
case HFI_PROPERTY_PARAM_CAPABILITY_SUPPORTED:
|
||||
parse_caps(core, codecs, domain, data);
|
||||
if (rem_bytes <= sizeof(struct hfi_capabilities))
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
ret = parse_caps(core, codecs, domain, payload);
|
||||
break;
|
||||
case HFI_PROPERTY_PARAM_PROFILE_LEVEL_SUPPORTED:
|
||||
parse_profile_level(core, codecs, domain, data);
|
||||
if (rem_bytes <= sizeof(struct hfi_profile_level_supported))
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
ret = parse_profile_level(core, codecs, domain, payload);
|
||||
break;
|
||||
case HFI_PROPERTY_PARAM_BUFFER_ALLOC_MODE_SUPPORTED:
|
||||
parse_alloc_mode(core, codecs, domain, data);
|
||||
if (rem_bytes <= sizeof(struct hfi_buffer_alloc_mode_supported))
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
ret = parse_alloc_mode(core, codecs, domain, payload);
|
||||
break;
|
||||
default:
|
||||
ret = sizeof(u32);
|
||||
break;
|
||||
}
|
||||
|
||||
word++;
|
||||
words_count--;
|
||||
if (ret < 0)
|
||||
return HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
words += ret / sizeof(u32);
|
||||
rem_bytes -= ret;
|
||||
}
|
||||
|
||||
parser_fini(inst, codecs, domain);
|
||||
|
||||
@@ -429,6 +429,10 @@ static int set_sync_ep_implicit_fb_quirk(struct snd_usb_substream *subs,
|
||||
case USB_ID(0x0582, 0x01d8): /* BOSS Katana */
|
||||
/* BOSS Katana amplifiers do not need quirks */
|
||||
return 0;
|
||||
case USB_ID(0x07fd, 0x0004): /* MOTU MicroBook II */
|
||||
ep = 0x84;
|
||||
ifnum = 0;
|
||||
goto add_sync_ep_from_ifnum;
|
||||
}
|
||||
|
||||
if (attr == USB_ENDPOINT_SYNC_ASYNC &&
|
||||
|
||||
@@ -3530,6 +3530,71 @@ ALC1220_VB_DESKTOP(0x26ce, 0x0a01), /* Asrock TRX40 Creator */
|
||||
.ifnum = QUIRK_NO_INTERFACE
|
||||
}
|
||||
},
|
||||
/* MOTU Microbook II */
|
||||
{
|
||||
USB_DEVICE(0x07fd, 0x0004),
|
||||
.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
|
||||
.vendor_name = "MOTU",
|
||||
.product_name = "MicroBookII",
|
||||
.ifnum = QUIRK_ANY_INTERFACE,
|
||||
.type = QUIRK_COMPOSITE,
|
||||
.data = (const struct snd_usb_audio_quirk[]) {
|
||||
{
|
||||
.ifnum = 0,
|
||||
.type = QUIRK_AUDIO_STANDARD_MIXER,
|
||||
},
|
||||
{
|
||||
.ifnum = 0,
|
||||
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
|
||||
.data = &(const struct audioformat) {
|
||||
.formats = SNDRV_PCM_FMTBIT_S24_3BE,
|
||||
.channels = 6,
|
||||
.iface = 0,
|
||||
.altsetting = 1,
|
||||
.altset_idx = 1,
|
||||
.attributes = 0,
|
||||
.endpoint = 0x84,
|
||||
.rates = SNDRV_PCM_RATE_96000,
|
||||
.ep_attr = USB_ENDPOINT_XFER_ISOC |
|
||||
USB_ENDPOINT_SYNC_ASYNC,
|
||||
.rate_min = 96000,
|
||||
.rate_max = 96000,
|
||||
.nr_rates = 1,
|
||||
.maxpacksize = 0x00d8,
|
||||
.rate_table = (unsigned int[]) {
|
||||
96000
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
.ifnum = 0,
|
||||
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
|
||||
.data = &(const struct audioformat) {
|
||||
.formats = SNDRV_PCM_FMTBIT_S24_3BE,
|
||||
.channels = 8,
|
||||
.iface = 0,
|
||||
.altsetting = 1,
|
||||
.altset_idx = 1,
|
||||
.attributes = 0,
|
||||
.endpoint = 0x03,
|
||||
.rates = SNDRV_PCM_RATE_96000,
|
||||
.ep_attr = USB_ENDPOINT_XFER_ISOC |
|
||||
USB_ENDPOINT_SYNC_ASYNC,
|
||||
.rate_min = 96000,
|
||||
.rate_max = 96000,
|
||||
.nr_rates = 1,
|
||||
.maxpacksize = 0x0120,
|
||||
.rate_table = (unsigned int[]) {
|
||||
96000
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
.ifnum = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/*
|
||||
* MacroSilicon MS2100/MS2106 based AV capture cards
|
||||
|
||||
@@ -932,6 +932,104 @@ static int snd_usb_axefx3_boot_quirk(struct usb_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define MICROBOOK_BUF_SIZE 128
|
||||
|
||||
static int snd_usb_motu_microbookii_communicate(struct usb_device *dev, u8 *buf,
|
||||
int buf_size, int *length)
|
||||
{
|
||||
int err, actual_length;
|
||||
|
||||
err = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x01), buf, *length,
|
||||
&actual_length, 1000);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
print_hex_dump(KERN_DEBUG, "MicroBookII snd: ", DUMP_PREFIX_NONE, 16, 1,
|
||||
buf, actual_length, false);
|
||||
|
||||
memset(buf, 0, buf_size);
|
||||
|
||||
err = usb_interrupt_msg(dev, usb_rcvintpipe(dev, 0x82), buf, buf_size,
|
||||
&actual_length, 1000);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
print_hex_dump(KERN_DEBUG, "MicroBookII rcv: ", DUMP_PREFIX_NONE, 16, 1,
|
||||
buf, actual_length, false);
|
||||
|
||||
*length = actual_length;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int snd_usb_motu_microbookii_boot_quirk(struct usb_device *dev)
|
||||
{
|
||||
int err, actual_length, poll_attempts = 0;
|
||||
static const u8 set_samplerate_seq[] = { 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x0b, 0x14,
|
||||
0x00, 0x00, 0x00, 0x01 };
|
||||
static const u8 poll_ready_seq[] = { 0x00, 0x04, 0x00, 0x00,
|
||||
0x00, 0x00, 0x0b, 0x18 };
|
||||
u8 *buf = kzalloc(MICROBOOK_BUF_SIZE, GFP_KERNEL);
|
||||
|
||||
if (!buf)
|
||||
return -ENOMEM;
|
||||
|
||||
dev_info(&dev->dev, "Waiting for MOTU Microbook II to boot up...\n");
|
||||
|
||||
/* First we tell the device which sample rate to use. */
|
||||
memcpy(buf, set_samplerate_seq, sizeof(set_samplerate_seq));
|
||||
actual_length = sizeof(set_samplerate_seq);
|
||||
err = snd_usb_motu_microbookii_communicate(dev, buf, MICROBOOK_BUF_SIZE,
|
||||
&actual_length);
|
||||
|
||||
if (err < 0) {
|
||||
dev_err(&dev->dev,
|
||||
"failed setting the sample rate for Motu MicroBook II: %d\n",
|
||||
err);
|
||||
goto free_buf;
|
||||
}
|
||||
|
||||
/* Then we poll every 100 ms until the device informs of its readiness. */
|
||||
while (true) {
|
||||
if (++poll_attempts > 100) {
|
||||
dev_err(&dev->dev,
|
||||
"failed booting Motu MicroBook II: timeout\n");
|
||||
err = -ENODEV;
|
||||
goto free_buf;
|
||||
}
|
||||
|
||||
memset(buf, 0, MICROBOOK_BUF_SIZE);
|
||||
memcpy(buf, poll_ready_seq, sizeof(poll_ready_seq));
|
||||
|
||||
actual_length = sizeof(poll_ready_seq);
|
||||
err = snd_usb_motu_microbookii_communicate(
|
||||
dev, buf, MICROBOOK_BUF_SIZE, &actual_length);
|
||||
if (err < 0) {
|
||||
dev_err(&dev->dev,
|
||||
"failed booting Motu MicroBook II: communication error %d\n",
|
||||
err);
|
||||
goto free_buf;
|
||||
}
|
||||
|
||||
/* the device signals its readiness through a message of the
|
||||
* form
|
||||
* XX 06 00 00 00 00 0b 18 00 00 00 01
|
||||
* If the device is not yet ready to accept audio data, the
|
||||
* last byte of that sequence is 00.
|
||||
*/
|
||||
if (actual_length == 12 && buf[actual_length - 1] == 1)
|
||||
break;
|
||||
|
||||
msleep(100);
|
||||
}
|
||||
|
||||
dev_info(&dev->dev, "MOTU MicroBook II ready\n");
|
||||
|
||||
free_buf:
|
||||
kfree(buf);
|
||||
return err;
|
||||
}
|
||||
|
||||
/*
|
||||
* Setup quirks
|
||||
*/
|
||||
@@ -1109,6 +1207,8 @@ int snd_usb_apply_boot_quirk(struct usb_device *dev,
|
||||
return snd_usb_gamecon780_boot_quirk(dev);
|
||||
case USB_ID(0x2466, 0x8010): /* Fractal Audio Axe-Fx 3 */
|
||||
return snd_usb_axefx3_boot_quirk(dev);
|
||||
case USB_ID(0x07fd, 0x0004): /* MOTU MicroBook II */
|
||||
return snd_usb_motu_microbookii_boot_quirk(dev);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user