]> git.karo-electronics.de Git - karo-tx-linux.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)
commitbf3e5ef5d549f650c13bef2b2192057cfef33d38
treece26b89f13ced2a92efe26d30df3c5e7f8e8a4bc
parentb7d0254c51f3ce79a8931690e8a2f035208f6b55
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