[PATCH RFC] virtio: wrap config->reset calls
Viresh Kumar
viresh.kumar at linaro.org
Wed Oct 13 04:00:12 PDT 2021
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 at redhat.com>
> ---
> drivers/gpio/gpio-virtio.c | 2 +-
> drivers/i2c/busses/i2c-virtio.c | 2 +-
Reviewed-by: Viresh Kumar <viresh.kumar at linaro.org>
--
viresh
More information about the linux-um
mailing list