Merge tag 'sound-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
"Very small fixes (all one-liners) at this time.

One fix is for a PCM core stuff to correct the mmap behavior on
non-x86. It doesn't show on most machines but mostly only for exotic
non-interleaved formats"

* tag 'sound-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ALSA: pcm: potential uninitialized return values
ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
ALSA: usb-audio: Add native DSD support for TEAC UD-301

+4 -3
+2 -2
sound/core/oss/pcm_oss.c
··· 1326 1326 static ssize_t snd_pcm_oss_write1(struct snd_pcm_substream *substream, const char __user *buf, size_t bytes) 1327 1327 { 1328 1328 size_t xfer = 0; 1329 - ssize_t tmp; 1329 + ssize_t tmp = 0; 1330 1330 struct snd_pcm_runtime *runtime = substream->runtime; 1331 1331 1332 1332 if (atomic_read(&substream->mmap_count)) ··· 1433 1433 static ssize_t snd_pcm_oss_read1(struct snd_pcm_substream *substream, char __user *buf, size_t bytes) 1434 1434 { 1435 1435 size_t xfer = 0; 1436 - ssize_t tmp; 1436 + ssize_t tmp = 0; 1437 1437 struct snd_pcm_runtime *runtime = substream->runtime; 1438 1438 1439 1439 if (atomic_read(&substream->mmap_count))
+1 -1
sound/core/pcm_native.c
··· 3422 3422 area, 3423 3423 substream->runtime->dma_area, 3424 3424 substream->runtime->dma_addr, 3425 - area->vm_end - area->vm_start); 3425 + substream->runtime->dma_bytes); 3426 3426 #endif /* CONFIG_X86 */ 3427 3427 /* mmap with fault handler */ 3428 3428 area->vm_ops = &snd_pcm_vm_ops_data_fault;
+1
sound/usb/quirks.c
··· 1171 1171 switch (id) { 1172 1172 case USB_ID(0x0644, 0x8043): /* TEAC UD-501/UD-503/NT-503 */ 1173 1173 case USB_ID(0x0644, 0x8044): /* Esoteric D-05X */ 1174 + case USB_ID(0x0644, 0x804a): /* TEAC UD-301 */ 1174 1175 return true; 1175 1176 } 1176 1177 return false;