[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1465356742.18601.7.camel@mtksdaap41>
Date: Wed, 8 Jun 2016 11:32:22 +0800
From: Garlic Tseng <garlic.tseng@...iatek.com>
To: Mark Brown <broonie@...nel.org>
CC: <alsa-devel@...a-project.org>, <ir.lian@...iatek.com>,
<srv_heupstream@...iatek.com>, <tiwai@...e.de>,
<linux-kernel@...r.kernel.org>, <koro.chen@...iatek.com>,
<linux-mediatek@...ts.infradead.org>, <PC.Liao@...iatek.com>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [alsa-devel] [PATCH v2 6/9] ASoC: mediatek: add mt2701 platform
driver implementation.
On Tue, 2016-06-07 at 17:31 +0100, Mark Brown wrote:
> On Fri, Jun 03, 2016 at 12:56:21PM +0800, Garlic Tseng wrote:
>
> > + if (val < 0 || val > MT2701_I2S_NUM) {
> > + dev_err(afe->dev, "%s, num not available, num %d, val %d\n",
> > + __func__, num, val);
> > + return -1;
>
> Real error codes please.
OK I'll fix it.
>
> > +static const struct snd_kcontrol_new mt2701_afe_multi_ch_out_asrc3[] = {
> > + SOC_DAPM_SINGLE_AUTODISABLE("Multi ch asrc out3", PWR2_TOP_CON, 7, 1,
> > + 1),
> > +};
>
> On/off controls should end in Switch.
Do you means that the name should end in Switch? Something like "Multi
ch asrc out3 Switch" (or maybe a shorter one)
I'll fix it (if I don't misunderstand the comment)
Thanks!
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@...a-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Powered by blists - more mailing lists