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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: core: Pass kcontrol pointer to bytes tlv callbacks
Date Wed, 03 Jun 2015 14:10:01 +0200
Message-ID <pxfEB-rG-15@gated-at.bofh.it> (permalink)
References <px2R4-6uX-13@gated-at.bofh.it>
X-Original-To Ben Zhang <benzh@chromium.org>
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4CI+obvDyVe27XRB"
Content-Disposition inline
X-Cookie The end of labor is to gain leisure.
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP 94.175.94.161
X-Sa-Exim-Mail-From broonie@sirena.org.uk
X-Sa-Exim-Version 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-Sa-Exim-Scanned Yes (on mezzanine.sirena.org.uk)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
X-Original-Cc Omair Mohammed Abdullah <omair.m.abdullah@intel.com>, Vinod Koul <vinod.koul@intel.com>, Dylan Reid <dgreid@chromium.org>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
X-Original-Date Wed, 3 Jun 2015 12:59:51 +0100
X-Original-Message-ID <20150603115951.GG14071@sirena.org.uk>
X-Original-References <1433283843-33856-1-git-send-email-benzh@chromium.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1157411

Show key headers only | 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