Re: [PATCH RFC] virtio: wrap config->reset calls

From: Anton Yakovlev
Date: Thu Oct 14 2021 - 02:11:53 EST


On 13.10.2021 12:55, Michael S. Tsirkin wrote:

This will enable cleanups down the road.
The idea is to disable cbs, then add "flush_queued_cbs" callback
as a parameter, this way drivers can flush any work
queued after callbacks have been disabled.

Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
---
sound/virtio/virtio_card.c | 4 ++--


Reviewed-by: Anton Yakovlev <anton.yakovlev@xxxxxxxxxxxxxxx>

--
Anton Yakovlev
Senior Software Engineer

OpenSynergy GmbH
Rotherstr. 20, 10245 Berlin