]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ALSA: virtio: handling control messages
authorAnton Yakovlev <anton.yakovlev@opensynergy.com>
Tue, 2 Mar 2021 16:47:03 +0000 (17:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 7 Mar 2021 08:07:27 +0000 (09:07 +0100)
commit9d45e514da88ff74fc24ffb34e7d6eb92576440b
treeead065f865cded879f5e93de8530f4dd39f6c330
parentde3a9980d8c34b2479173e809afa820473db676a
ALSA: virtio: handling control messages

The control queue can be used by different parts of the driver to send
commands to the device. Control messages can be either synchronous or
asynchronous. The lifetime of a message is controlled by a reference
count.

Introduce a module parameter to set the message completion timeout:
  msg_timeout_ms [=1000]

Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
Link: https://lore.kernel.org/r/20210302164709.3142702-4-anton.yakovlev@opensynergy.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/virtio/Makefile
sound/virtio/virtio_card.c
sound/virtio/virtio_card.h
sound/virtio/virtio_ctl_msg.c [new file with mode: 0644]
sound/virtio/virtio_ctl_msg.h [new file with mode: 0644]