diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-09-15 15:40:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-15 17:14:22 +0100 |
commit | 31bb7bd9ffee50d09ec931998b823a86132ab807 (patch) | |
tree | 3f6e875902cab2662c976d31d40b3f73fcef1012 /io_uring/msg_ring.c | |
parent | e0f96246c4402514acda040be19ee24c1619e01a (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 <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230915124015.19637-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions