Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1157411

Re: [PATCH] ASoC: core: Pass kcontrol pointer to bytes tlv callbacks

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: core: Pass kcontrol pointer to bytes tlv callbacks
Date 2015-06-03 14:10 +0200
Message-ID <pxfEB-rG-15@gated-at.bofh.it> (permalink)
References <px2R4-6uX-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Jun 02, 2015 at 03:24:03PM -0700, Ben Zhang wrote:

> -	int (*get)(unsigned int __user *bytes, unsigned int size);
> -	int (*put)(const unsigned int __user *bytes, unsigned int size);
> +	int (*get)(struct snd_kcontrol *kcontrol,
> +		   unsigned int __user *bytes, unsigned int size);
> +	int (*put)(struct snd_kcontrol *kcontrol,
> +		   const unsigned int __user *bytes, unsigned int size);

This doesn't update any users and we do have some like the Haswell PCM
driver.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: core: Pass kcontrol pointer to bytes tlv callbacks Ben Zhang <benzh@chromium.org> - 2015-06-03 00:30 +0200
  Re: [PATCH] ASoC: core: Pass kcontrol pointer to bytes tlv callbacks Mark Brown <broonie@kernel.org> - 2015-06-03 14:10 +0200

csiph-web