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

From: Viresh Kumar
Date: Wed Oct 13 2021 - 07:01:24 EST


On 13-10-21, 06: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>
> ---
> drivers/gpio/gpio-virtio.c | 2 +-
> drivers/i2c/busses/i2c-virtio.c | 2 +-

Reviewed-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh