]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: topology: fix info callback for TLV byte control
authorOmair M Abdullah <omair.m.abdullah@intel.com>
Mon, 9 Nov 2015 17:50:01 +0000 (23:20 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 18 Nov 2015 12:57:06 +0000 (12:57 +0000)
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>
sound/soc/soc-topology.c

index 8d7ec80af51b499738dc2032356896a08144078a..50f21ed00cfa375685d967ece4c17ccc7a86df91 100644 (file)
@@ -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;