mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
fd28941cff
It seems that the firmware is broken and does not accept the UAC_EP_CS_ATTR_SAMPLE_RATE URB. There is only one rate (48000Hz) available in the descriptors for the output endpoint. Create a new quirk QUIRK_FLAG_FIXED_RATE to skip the rate setup when only one rate is available (fixed). BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216798 Signed-off-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20221215153037.1163786-1-perex@perex.cz Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 lines
496 B
C
15 lines
496 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef __USBAUDIO_IMPLICIT_H
|
|
#define __USBAUDIO_IMPLICIT_H
|
|
|
|
int snd_usb_parse_implicit_fb_quirk(struct snd_usb_audio *chip,
|
|
struct audioformat *fmt,
|
|
struct usb_host_interface *alts);
|
|
const struct audioformat *
|
|
snd_usb_find_implicit_fb_sync_format(struct snd_usb_audio *chip,
|
|
const struct audioformat *target,
|
|
const struct snd_pcm_hw_params *params,
|
|
int stream, bool *fixed_rate);
|
|
|
|
#endif /* __USBAUDIO_IMPLICIT_H */
|