summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorOmair M Abdullah <omair.m.abdullah@intel.com>2015-11-09 20:50:01 +0300
committerMark Brown <broonie@kernel.org>2015-11-18 15:57:06 +0300
commitf4be978b9611c94f20cdc8cee540ef1a52f8875c (patch)
treee76353b330cc656a7b5d2fe6bed0ad62a79708b0 /sound
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-f4be978b9611c94f20cdc8cee540ef1a52f8875c.tar.xz
ASoC: topology: fix info callback for TLV byte control
topology core used wrong callback for TLV bytes control, it should be snd_soc_bytes_info_ext and not snd_soc_bytes_info Signed-off-by: Omair M Abdullah <omair.m.abdullah@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 8d7ec80af51b..50f21ed00cfa 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -531,7 +531,7 @@ static int soc_tplg_kcontrol_bind_io(struct snd_soc_tplg_ctl_hdr *hdr,
/* TLV bytes controls need standard kcontrol info handler,
* TLV callback and extended put/get handlers.
*/
- k->info = snd_soc_bytes_info;
+ k->info = snd_soc_bytes_info_ext;
k->tlv.c = snd_soc_bytes_tlv_callback;
ext_ops = tplg->bytes_ext_ops;