]> 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)
commit485117836add4d4fac695af6af45b0de13cbebeb
treeead065f865cded879f5e93de8530f4dd39f6c330
parent3c3c2b9f6b1680feb52bb5a856fa5970434047c7
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]