]> git.baikalelectronics.ru Git - 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)
commitbdaaa1cc7b14cd6c06d532271afad06a5ac5f658
treeead065f865cded879f5e93de8530f4dd39f6c330
parentb1606a1e3f8f80e9c838986a74a44bf98c6650cf
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]