]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: wm0010: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 18 Sep 2015 10:32:20 +0000 (16:02 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 19 Sep 2015 15:40:50 +0000 (08:40 -0700)
commit2ace47be5a315def8f493ca77aa59c077ade30a1
treea040925ff611f44c7ac7f5ee79c7c1694763d226
parent51d2eeef1d958ef6834b24f548194f5acea0f499
ASoC: wm0010: fix memory leak

We have requested for the firmware but we have missed releasing it both
on success and on error path.
While checking the code it turned out that the requested firmware is not
even used. More over the same firmware is being loaded by
wm0010_stage2_load().

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm0010.c