xref: /openbmc/linux/sound/usb/mixer_quirks.h (revision 5d331b7f)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef SND_USB_MIXER_QUIRKS_H
3 #define SND_USB_MIXER_QUIRKS_H
4 
5 int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer);
6 
7 void snd_emuusb_set_samplerate(struct snd_usb_audio *chip,
8 			       unsigned char samplerate_id);
9 
10 void snd_usb_mixer_rc_memory_change(struct usb_mixer_interface *mixer,
11 				    int unitid);
12 
13 void snd_usb_mixer_fu_apply_quirk(struct usb_mixer_interface *mixer,
14 				  struct usb_mixer_elem_info *cval, int unitid,
15 				  struct snd_kcontrol *kctl);
16 
17 #ifdef CONFIG_PM
18 void snd_usb_mixer_resume_quirk(struct usb_mixer_interface *mixer);
19 #endif
20 
21 #endif /* SND_USB_MIXER_QUIRKS_H */
22 
23