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

- From: Viresh Kumar \<viresh.kumar@linaro.org\>
- Date: 2021-10-13 11:01:20 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/10/215898
- Thread: https://ratatoskr.run/linux-um/2021/10/215897/t.md

```text
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@redhat.com>
> ---
>  drivers/gpio/gpio-virtio.c                 | 2 +-
>  drivers/i2c/busses/i2c-virtio.c            | 2 +-

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

-- 
viresh
```
