summaryrefslogtreecommitdiffstats
path: root/drivers/slimbus/messaging.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>2022-06-02 15:57:57 +0200
committerMark Brown <broonie@kernel.org>2022-06-06 13:31:21 +0200
commit2fe08216fda33bbc1f80133b8fd560ffd094b987 (patch)
tree03f8fe36e722ca360512f05397aab7aca4a1d85d /drivers/slimbus/messaging.c
parentASoC: Fixup Cirrus SX control usage (diff)
downloadlinux-2fe08216fda33bbc1f80133b8fd560ffd094b987.tar.xz
linux-2fe08216fda33bbc1f80133b8fd560ffd094b987.zip
ASoC: SOF: Fix potential NULL pointer dereference
Cleanup path for sof_prepare_widgets_in_path() should check if unprepare callback exists before calling it, instead it checks if it does not exist. Fix the check. Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20220602135757.3335351-1-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/slimbus/messaging.c')
0 files changed, 0 insertions, 0 deletions