commit | c286b3f9600b2ddc573208792d947e1a251c6b15 | [log] [tgz] |
---|---|---|
author | Jeeja KP <jeeja.kp@intel.com> | Thu May 05 11:19:19 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Thu May 05 16:46:54 2016 +0100 |
tree | 79e3d3de90ab01d241e775e1ec9d54c1ceb33b0e | |
parent | 551f4bc86807637098786c78afb78418ada4aa1f [diff] |
ASoC: Intel: Skylake: Fix memory leak in nhlt init During skl_nhlt_init(), acpi obj pointer is allocated and never freed and remap address is not unmapped. To fix this we should release the ACPI obj and also unmap the nhlt address during cleanup of driver. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>