]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix parameter overwrite for KPB Module
authorDharageswari R <dharageswari.r@intel.com>
Mon, 13 Mar 2017 16:41:32 +0000 (22:11 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 15 Mar 2017 17:28:22 +0000 (17:28 +0000)
commit9636625eaac7acc4377c0e300f7b215b063c6fd8
treece26b89f13ced2a92efe26d30df3c5e7f8e8a4bc
parenta410854de94e59b8632925413bb0ddd55161ef0e
ASoC: Intel: Skylake: Fix parameter overwrite for KPB Module

KPB module default parameter were overwritten by the dynamic instance
id once use case is executed. This will cause module crash from
subsequent execution of use case as the updated parameters are used.

So instead of over writing the default parameter, make a copy and
update the module parameter and use this in IPC message.

Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Kranthikumar, GudishaX <gudishax.kranthikumar@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c