[alsa-devel] [PATCH 1/2] ASoC: Intel: Add Kabylake machine driver for RT5514, RT5663 and MAX98927

Takashi Iwai tiwai at suse.de
Wed Jun 7 08:50:02 CEST 2017


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


More information about the Alsa-devel mailing list