Merge tag 'tags/virtio_snd-5.12-rc2' into for-next
authorTakashi Iwai <tiwai@suse.de>
Sun, 7 Mar 2021 08:16:24 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 7 Mar 2021 08:16:24 +0000 (09:16 +0100)
commit59117306e0d0e152acb72e89cc22f060a3c6a50a
treea22a93b11fdcb827d820c2a415eb0587bf18fed0
parent04f7791b7a4ba6ff3f53b3f3978b353924d10e78
parent575483e90a3292c2afceb7161732046e411d6fdd
Merge tag 'tags/virtio_snd-5.12-rc2' into for-next

ALSA: add virtio sound driver

This series implements a driver part of the virtio sound device
specification v8 [1].

The driver supports PCM playback and capture substreams, jack and
channel map controls. A message-based transport is used to write/read
PCM frames to/from a device.

As a device part was used OpenSynergy proprietary implementation.

v7 changes:
 - Moved the snd_pcm_period_elapsed() call from the interrupt handler to the
   kernel worker for being consistent with the non-atomic mode of the PCM
   device.
 - Removed SNDRV_PCM_INFO_RESUME flag. Now ops->prepare() sets the parameters
   for the substream if it was previously suspended.
 - Some additional code readability improvements/comments.

[1] https://lists.oasis-open.org/archives/virtio-dev/202003/msg00185.html

Link: https://lore.kernel.org/r/20210302164709.3142702-1-anton.yakovlev@opensynergy.com
sound/pci/hda/hda_jack.c
sound/pci/hda/patch_realtek.c