diff options
author | Mythri P K <mythri.p.k@intel.com> | 2015-11-09 23:20:00 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-18 12:57:50 +0000 |
commit | a1e5e7e9b36f360bf75e4f0f7ceb899682f213bd (patch) | |
tree | 0aba423f1c401adf7d24a1f1024fddc1d3d573f1 /include/sound/soc.h | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | op-kernel-dev-a1e5e7e9b36f360bf75e4f0f7ceb899682f213bd.zip op-kernel-dev-a1e5e7e9b36f360bf75e4f0f7ceb899682f213bd.tar.gz |
ASoC: core: Pass kcontrol to bytes tlv callbacks
Add kcontrol to the tlv callbacks in soc_bytes_ext, as it is
needed for referencing the corresponding control in the driver
code
Also fix the only upstream user in topology core
Signed-off-by: Mythri P K <mythri.p.k@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index a8b4b9c..6603155 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1225,8 +1225,10 @@ struct soc_bytes_ext { struct snd_soc_dobj dobj; /* used for TLV byte control */ - 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); }; /* multi register control */ |