aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-topology.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>2019-06-17 13:36:42 +0200
committerMark Brown <broonie@kernel.org>2019-06-25 15:33:25 +0100
commit0f6ff78540bd1b4df1e0f17806b0ce2e1dff0d78 (patch)
tree61d97aebf69e7e97b8e3911fea19055bd2b21135 /sound/soc/soc-topology.c
parentASoC: Intel: Skylake: Fix NULL ptr dereference when unloading clk dev (diff)
downloadlinux-dev-0f6ff78540bd1b4df1e0f17806b0ce2e1dff0d78.tar.xz
linux-dev-0f6ff78540bd1b4df1e0f17806b0ce2e1dff0d78.zip
ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
When we unload Skylake driver we may end up calling hdac_component_master_unbind(), it uses acomp->audio_ops, which we set in hdmi_codec_probe(), so we need to set it to NULL in hdmi_codec_remove(), otherwise we will dereference no longer existing pointer. Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-topology.c')
0 files changed, 0 insertions, 0 deletions