Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: usb-audio: Add quirk for Pioneer DDJ-800

One more Pioneer quirk, this time for DDJ-800, which is quite similar like
other DJ DDJ models but with slightly different EPs or channels.

Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com>
Tested-by: Grégory Desor <gregory.desor@free.fr>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/ZFLLzgEcsSF5aIHG@geday
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Geraldo Nascimento and committed by
Takashi Iwai
7501f472 e7477cb9

+58
+58
sound/usb/quirks-table.h
··· 3884 3884 } 3885 3885 }, 3886 3886 3887 + { 3888 + /* 3889 + * PIONEER DJ DDJ-800 3890 + * PCM is 6 channels out, 6 channels in @ 44.1 fixed 3891 + * The Feedback for the output is the input 3892 + */ 3893 + USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0029), 3894 + .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { 3895 + .ifnum = QUIRK_ANY_INTERFACE, 3896 + .type = QUIRK_COMPOSITE, 3897 + .data = (const struct snd_usb_audio_quirk[]) { 3898 + { 3899 + .ifnum = 0, 3900 + .type = QUIRK_AUDIO_FIXED_ENDPOINT, 3901 + .data = &(const struct audioformat) { 3902 + .formats = SNDRV_PCM_FMTBIT_S24_3LE, 3903 + .channels = 6, 3904 + .iface = 0, 3905 + .altsetting = 1, 3906 + .altset_idx = 1, 3907 + .endpoint = 0x01, 3908 + .ep_attr = USB_ENDPOINT_XFER_ISOC| 3909 + USB_ENDPOINT_SYNC_ASYNC, 3910 + .rates = SNDRV_PCM_RATE_44100, 3911 + .rate_min = 44100, 3912 + .rate_max = 44100, 3913 + .nr_rates = 1, 3914 + .rate_table = (unsigned int[]) { 44100 } 3915 + } 3916 + }, 3917 + { 3918 + .ifnum = 0, 3919 + .type = QUIRK_AUDIO_FIXED_ENDPOINT, 3920 + .data = &(const struct audioformat) { 3921 + .formats = SNDRV_PCM_FMTBIT_S24_3LE, 3922 + .channels = 6, 3923 + .iface = 0, 3924 + .altsetting = 1, 3925 + .altset_idx = 1, 3926 + .endpoint = 0x82, 3927 + .ep_idx = 1, 3928 + .ep_attr = USB_ENDPOINT_XFER_ISOC| 3929 + USB_ENDPOINT_SYNC_ASYNC| 3930 + USB_ENDPOINT_USAGE_IMPLICIT_FB, 3931 + .rates = SNDRV_PCM_RATE_44100, 3932 + .rate_min = 44100, 3933 + .rate_max = 44100, 3934 + .nr_rates = 1, 3935 + .rate_table = (unsigned int[]) { 44100 } 3936 + } 3937 + }, 3938 + { 3939 + .ifnum = -1 3940 + } 3941 + } 3942 + } 3943 + }, 3944 + 3887 3945 /* 3888 3946 * MacroSilicon MS2100/MS2106 based AV capture cards 3889 3947 *