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

From: Mark Brown
Date: Wed Jun 03 2015 - 08:00:15 EST


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.

Attachment: signature.asc
Description: Digital signature