Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Harsha Priya <harshapriya.n@intel.com>
Cc: alsa-devel@alsa-project.org, patch@alsa-project.org,
	Hsin-yu Chao <hychao@google.com>,
	vinod.koul@intel.com, broonie@kernel.org,
	Naveen M <naveen.m@intel.com>
Subject: Re: [PATCH 1/2] ASoC: Intel: Add Kabylake machine driver for RT5514, RT5663 and MAX98927
Date: Wed, 07 Jun 2017 08:50:02 +0200	[thread overview]
Message-ID: <s5h1sqw5m1x.wl-tiwai@suse.de> (raw)
In-Reply-To: <1496782293-15658-2-git-send-email-harshapriya.n@intel.com>

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

  reply	other threads:[~2017-06-07  6:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 20:51 [PATCH 0/2] ASoC: Intel: Add Kabylake machine driver for RT5663+RT5514+MAX98927 Harsha Priya
2017-06-06 20:51 ` [PATCH 1/2] ASoC: Intel: Add Kabylake machine driver for RT5514, RT5663 and MAX98927 Harsha Priya
2017-06-07  6:50   ` Takashi Iwai [this message]
2017-06-06 20:51 ` [PATCH 2/2] ASoC: Intel: Add Kabylake RT5663+RT5514+MAX98927 machine driver entry Harsha Priya
2017-06-07  6:10   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h1sqw5m1x.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=harshapriya.n@intel.com \
    --cc=hychao@google.com \
    --cc=naveen.m@intel.com \
    --cc=patch@alsa-project.org \
    --cc=vinod.koul@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox