public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "Charles Keepax" <ckeepax@opensource.cirrus.com>
Cc: "Steven Eckhoff" <steven.eckhoff.opensource@gmail.com>,
	<alsa-devel@alsa-project.org>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	"MarkBrown" <broonie@kernel.org>,
	"Jaroslav Kysela" <perex@perex.cz>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v5] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC
Date: Tue, 12 Dec 2017 14:10:09 +0100	[thread overview]
Message-ID: <s5hefo0jdn2.wl-tiwai@suse.de> (raw)
In-Reply-To: <20171212130401.nugvjnko6x3c3apn@localhost.localdomain>

On Tue, 12 Dec 2017 14:04:01 +0100,
Charles Keepax wrote:
> 
> On Mon, Dec 11, 2017 at 01:54:25PM -0600, Steven Eckhoff wrote:
> > Currently there is no support for the TSCS42xx audio CODEC.
> > 
> > Add support for it.
> > 
> > v5 attempts to address all issues raised in the previous reviews.
> > 
> > Thank you to everyone who has invested their time reviewing these
> > patches.
> > 
> > Acked-by: Philippe Ombredanne <pombredanne@nexb.com>
> > Signed-off-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com>
> > ---
> > +int bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag,
> > +	unsigned int size, unsigned int __user *tlv)
> > +{
> > +	struct tscs_dsp_ctl *ctl =
> > +		(struct tscs_dsp_ctl *)kcontrol->private_value;
> > +	struct soc_bytes_ext *params = &ctl->bytes_ext;
> > +	unsigned int count = size < params->max ? size : params->max;
> > +	int ret = -ENXIO;
> > +
> > +	switch (op_flag) {
> > +	case SNDRV_CTL_TLV_OP_READ:
> > +		if (params->get)
> > +			ret = params->get(kcontrol, tlv, count);
> > +		break;
> > +	case SNDRV_CTL_TLV_OP_WRITE:
> > +		if (params->put)
> > +			ret = params->put(kcontrol, tlv, count);
> > +		break;
> > +	}
> > +	return ret;
> > +}
> 
> Should this function be removed, I am assuming it is a hang over
> from the earlier TLV implementation?

Yes, and bytes_ext_info() is also missing static.


Takashi

  reply	other threads:[~2017-12-12 13:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11 19:54 [PATCH v5] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC Steven Eckhoff
2017-12-12 13:04 ` Charles Keepax
2017-12-12 13:10   ` Takashi Iwai [this message]
2017-12-12 16:54     ` Steven Eckhoff
2017-12-12 16:35   ` Steven Eckhoff
2017-12-12 16:32 ` Mark Brown
2017-12-12 21:31   ` Steven Eckhoff
2017-12-12 22:51     ` Steven Eckhoff
2017-12-13  6:20       ` Steven Eckhoff
2017-12-13 10:47       ` Mark Brown
2017-12-13 15:40         ` Steven Eckhoff
2017-12-14  9:32     ` [alsa-devel] " Charles Keepax
2017-12-14 22:36       ` Steven Eckhoff
2017-12-14 22:43         ` Steven Eckhoff
2017-12-15 11:36           ` Charles Keepax
2017-12-15 16:08             ` Steven Eckhoff
2017-12-17 19:23       ` Steven Eckhoff

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=s5hefo0jdn2.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=steven.eckhoff.opensource@gmail.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