On Tue, 06 Jun 2017 22:51:32 +0200, Harsha Priya wrote: > > +static unsigned int rates[] = { > + 48000, > +}; Add const. > +static struct snd_pcm_hw_constraint_list constraints_rates = { > + .count = ARRAY_SIZE(rates), > + .list = rates, > + .mask = 0, > +}; Here, too. ... and a few other similar codes (channels, channels_dmic, and the corresponding hw_constraints), too. thanks, Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel