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>
This commit is contained in:
Omair M Abdullah 2015-11-09 23:20:01 +05:30 committed by Mark Brown
parent 8005c49d9a
commit f4be978b96

View 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 bytes controls need standard kcontrol info handler,
* TLV callback and extended put/get handlers. * 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; k->tlv.c = snd_soc_bytes_tlv_callback;
ext_ops = tplg->bytes_ext_ops; ext_ops = tplg->bytes_ext_ops;