Re: [PATCH v6 4/9] ALSA: virtio: build PCM devices and substream hardware descriptors

2021-02-28 Thread Takashi Iwai
On Sat, 27 Feb 2021 09:59:51 +0100, Anton Yakovlev wrote: > +static int virtsnd_pcm_build_hw(struct virtio_pcm_substream *vss, > + struct virtio_snd_pcm_info *info) > +{ > + for (i = 0; i < ARRAY_SIZE(g_v2a_format_map); ++i) > + if (values & (1ULL <<

[PATCH v6 4/9] ALSA: virtio: build PCM devices and substream hardware descriptors

2021-02-27 Thread Anton Yakovlev
Like the HDA specification, the virtio sound device specification links PCM substreams, jacks and PCM channel maps into functional groups. For each discovered group, a PCM device is created, the number of which coincides with the group number. Introduce the module parameters for setting the hardwa