aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2023-09-15 15:40:15 +0300
committerMark Brown <[email protected]>2023-09-15 17:14:22 +0100
commit31bb7bd9ffee50d09ec931998b823a86132ab807 (patch)
tree3f6e875902cab2662c976d31d40b3f73fcef1012 /rust/helpers.c
parente0f96246c4402514acda040be19ee24c1619e01a (diff)
ASoC: SOF: core: Only call sof_ops_free() on remove if the probe was successful
All the fail paths during probe will free up the ops, on remove we should only free it if the probe was successful. Fixes: bc433fd76fae ("ASoC: SOF: Add ops_free") Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Rander Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions