aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/format.c')
-rw-r--r--sound/usb/format.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/usb/format.c b/sound/usb/format.c
index 8bcc87cf5667..789d19ec035d 100644
--- a/sound/usb/format.c
+++ b/sound/usb/format.c
@@ -79,7 +79,10 @@ static u64 parse_audio_format_i_type(struct snd_usb_audio *chip,
79 format = 1 << UAC_FORMAT_TYPE_I_PCM; 79 format = 1 << UAC_FORMAT_TYPE_I_PCM;
80 } 80 }
81 if (format & (1 << UAC_FORMAT_TYPE_I_PCM)) { 81 if (format & (1 << UAC_FORMAT_TYPE_I_PCM)) {
82 if (chip->usb_id == USB_ID(0x0582, 0x0016) /* Edirol SD-90 */ && 82 if (((chip->usb_id == USB_ID(0x0582, 0x0016)) ||
83 /* Edirol SD-90 */
84 (chip->usb_id == USB_ID(0x0582, 0x000c))) &&
85 /* Roland SC-D70 */
83 sample_width == 24 && sample_bytes == 2) 86 sample_width == 24 && sample_bytes == 2)
84 sample_bytes = 3; 87 sample_bytes = 3;
85 else if (sample_width > sample_bytes * 8) { 88 else if (sample_width > sample_bytes * 8) {