ASoC: Intel: Skylake: pointer math issue
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Dec 2015 05:53:22 +0000 (08:53 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 16 Dec 2015 19:23:59 +0000 (19:23 +0000)
commite8bc3c99fa982f616e74aec4445945400a9c56f3
treec6da4b7776110b2e0e5e8e288a59a61edc297e61
parentdb4e561378b539230feb4db5e7d5d548c2db2cd4
ASoC: Intel: Skylake: pointer math issue

"data" is a u32 pointer so this copies the information to wrong place
entirely.

Fixes: 140adfba5280 ('ASoC: Intel: Skylake: Add tlv byte kcontrols')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c