]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: x86: Clear the pdata.notify_lpe_audio pointer before teardown
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Apr 2017 16:02:21 +0000 (19:02 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 3 May 2017 13:19:07 +0000 (16:19 +0300)
commit8d5c30308d7c5a17db96fa5452c0232f633377c2
treec4abcbd258fe586acc4ff7fd8a1566afbd29af36
parent183c00350ccda86781f6695840e6c5f5b22efbd1
ALSA: x86: Clear the pdata.notify_lpe_audio pointer before teardown

Clear the notify function pointer in the platform data before we tear
down the driver. Otherwise i915 would end up calling a stale function
pointer and possibly explode.

Cc: stable@vger.kernel.org
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170427160231.13337-3-ville.syrjala@linux.intel.com
Reviewed-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c