summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>2019-06-17 14:36:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 10:14:12 +0300
commit6e6bc34f85702ea065a84477eec4a1401e759f9c (patch)
tree562fc723a95d108337cdcd022e363e688598f149 /drivers/ata
parent1182ff2248474066039a2be42e6c1a4985d5562d (diff)
downloadlinux-6e6bc34f85702ea065a84477eec4a1401e759f9c.tar.xz
ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
[ Upstream commit 0f6ff78540bd1b4df1e0f17806b0ce2e1dff0d78 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions