mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	ALSA: usb-audio: fix BOSS ME-25 MIDI regression
The BOSS ME-25 turns out not to have any useful descriptors in its MIDI
interface, so its needs a quirk entry after all.
Reported-and-tested-by: Kees van Veen <kees.vanveen@gmail.com>
Fixes: 8e5ced83dd ("ALSA: usb-audio: remove superfluous Roland quirks")
Cc: <stable@vger.kernel.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
			
			
This commit is contained in:
		
							parent
							
								
									875f0dd799
								
							
						
					
					
						commit
						53da5ebfef
					
				
					 1 changed files with 29 additions and 0 deletions
				
			
		|  | @ -1580,6 +1580,35 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
| 		} | ||||
| 	} | ||||
| }, | ||||
| { | ||||
| 	/* BOSS ME-25 */ | ||||
| 	USB_DEVICE(0x0582, 0x0113), | ||||
| 	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | ||||
| 		.ifnum = QUIRK_ANY_INTERFACE, | ||||
| 		.type = QUIRK_COMPOSITE, | ||||
| 		.data = (const struct snd_usb_audio_quirk[]) { | ||||
| 			{ | ||||
| 				.ifnum = 0, | ||||
| 				.type = QUIRK_AUDIO_STANDARD_INTERFACE | ||||
| 			}, | ||||
| 			{ | ||||
| 				.ifnum = 1, | ||||
| 				.type = QUIRK_AUDIO_STANDARD_INTERFACE | ||||
| 			}, | ||||
| 			{ | ||||
| 				.ifnum = 2, | ||||
| 				.type = QUIRK_MIDI_FIXED_ENDPOINT, | ||||
| 				.data = & (const struct snd_usb_midi_endpoint_info) { | ||||
| 					.out_cables = 0x0001, | ||||
| 					.in_cables  = 0x0001 | ||||
| 				} | ||||
| 			}, | ||||
| 			{ | ||||
| 				.ifnum = -1 | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| }, | ||||
| { | ||||
| 	/* only 44.1 kHz works at the moment */ | ||||
| 	USB_DEVICE(0x0582, 0x0120), | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Clemens Ladisch
						Clemens Ladisch