summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-10-19 14:09:17 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:52:05 +0800
commitd50e2b69e8026a22c164c5009aa556652ade723d (patch)
treed92489059a945fa52667ec7bbb3cc37e7c6c279f /block
parent2cdddf2f2e89c73d7126355fdea7b22a3c12f74e (diff)
MLK-19972-2: ASoC: fsl: dsp: Fix component creation cleanup path
Because we don't correctly free resources when an error occurs on component creation path we can end up with partially initialized components. Freeing such partially initialized components most of the time leads to kernel crashing in pain. Avoid this by making sure we either: * return a fully initialized component, comp->active = true * don't "create" the component at all, comp->active = false Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions