summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorCharles Keepax2018-04-24 17:39:01 +0200
committerMark Brown2018-04-26 13:23:44 +0200
commit572e6c8dd174bc6fc7ba5d9b6935e9ec8d2660f5 (patch)
tree7bcec435386fb7abebe7d6854e493cc1acbdb35f /.mailmap
parentASoC: Update email address for Vinod (diff)
downloadkernel-qcow2-linux-572e6c8dd174bc6fc7ba5d9b6935e9ec8d2660f5.tar.gz
kernel-qcow2-linux-572e6c8dd174bc6fc7ba5d9b6935e9ec8d2660f5.tar.xz
kernel-qcow2-linux-572e6c8dd174bc6fc7ba5d9b6935e9ec8d2660f5.zip
ASoC: compress: Only call free for components which have been opened
The core should only call free on a component if said component has already had open called on it. This is not presently the case and most compressed drivers in the kernel assume it will be. This causes null pointer dereferences in the drivers as they attempt clean up for stuff that was never put in place. This is fixed by aborting calling open callbacks once a failure is encountered and then during clean up only iterating through the component list to that point. This is a fairly quick fix to the issue, to allow backporting. There is more refactoring to follow to tidy the code up a little. Fixes: 9e7e3738ab0e ("ASoC: snd_soc_component_driver has snd_compr_ops") Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions