ASoC: Intel: Skylake: Fix to use the actual size for TLV control
authorDharageswari R <dharageswari.r@intel.com>
Fri, 8 Jul 2016 12:45:03 +0000 (18:15 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jul 2016 12:47:04 +0000 (14:47 +0200)
commit0d6821040034b8bfc9d9a4e6c2236f3a9e02650f
tree6a1576cad650c3a02f208f10ad0e4fdcb73e1af2
parent1a695a905c18548062509178b98bc91e67510864
ASoC: Intel: Skylake: Fix to use the actual size for TLV control

DSP expects the actual length of parameters that is set through
TLV to be passed in large config set, so pass the actual size
received in tlv_control_set() instead of max size.

Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c
sound/soc/intel/skylake/skl-topology.h