Searched hist:"7 ca42f5a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-topology.c | 7ca42f5a Wed Feb 03 06:29:46 CST 2016 Guneshwor Singh <guneshwor.o.singh@intel.com> ASoC: Intel: Skylake: Fix mcps freeup after module unbind failure
While cleaning resources on module pmd event, we check for return of skl_unbind_modules(). On failure this causes leak as all modules attached do not have resources freed.
So ignore return value of module unbind and continue freeing resources. This makes dapm state and resources correct.
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> 7ca42f5a Wed Feb 03 06:29:46 CST 2016 Guneshwor Singh <guneshwor.o.singh@intel.com> ASoC: Intel: Skylake: Fix mcps freeup after module unbind failure While cleaning resources on module pmd event, we check for return of skl_unbind_modules(). On failure this causes leak as all modules attached do not have resources freed. So ignore return value of module unbind and continue freeing resources. This makes dapm state and resources correct. Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|