Re: [virtio-dev] Re: [PATCH v2 2/9] ALSA: virtio: add virtio sound driver

2021-02-03 Thread Takashi Iwai
On Wed, 03 Feb 2021 18:34:12 +0100, Anton Yakovlev wrote: > > Hi Takashi, > > > On 03.02.2021 17:59, Takashi Iwai wrote: > > On Tue, 02 Feb 2021 00:18:09 +0100, > > Anton Yakovlev wrote: > +/** > + * virtsnd_reset_fn() - Kernel worker's function to reset the device. > + * @work: R

Re: [virtio-dev] Re: [PATCH v2 2/9] ALSA: virtio: add virtio sound driver

2021-02-03 Thread Anton Yakovlev
Hi Takashi, On 03.02.2021 17:59, Takashi Iwai wrote: On Tue, 02 Feb 2021 00:18:09 +0100, Anton Yakovlev wrote: +/** + * virtsnd_reset_fn() - Kernel worker's function to reset the device. + * @work: Reset device work. + * + * Context: Process context. + */ +static void virtsnd_reset_fn(struct w

Re: [virtio-dev] Re: [PATCH v2 2/9] ALSA: virtio: add virtio sound driver

2021-02-03 Thread Takashi Iwai
On Tue, 02 Feb 2021 00:18:09 +0100, Anton Yakovlev wrote: > >> +/** > >> + * virtsnd_reset_fn() - Kernel worker's function to reset the device. > >> + * @work: Reset device work. > >> + * > >> + * Context: Process context. > >> + */ > >> +static void virtsnd_reset_fn(struct work_struct *work) > >>

Re: [virtio-dev] Re: [PATCH v2 2/9] ALSA: virtio: add virtio sound driver

2021-02-01 Thread Anton Yakovlev
Hi Guennadi, Sorry for the late reply and thanks for your comments, they helped me a lot! Please see my answers inline. On 25.01.2021 15:54, Guennadi Liakhovetski wrote: ...[snip]... > >> + * 1. Redistributions of source code must retain the above copyright >> + *notice, this list of cond