diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-11-05 21:46:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-21 09:22:14 +0100 |
commit | a4820798a2edaa38164bd829214aefe1aa8eb3af (patch) | |
tree | 0cecef1e30e522cd301d64ad01703296edb53082 /net/802 | |
parent | d0baf6ac9fccfe563186461f65a91b6f6d0cbdc3 (diff) | |
download | linux-stable-a4820798a2edaa38164bd829214aefe1aa8eb3af.tar.gz linux-stable-a4820798a2edaa38164bd829214aefe1aa8eb3af.tar.bz2 linux-stable-a4820798a2edaa38164bd829214aefe1aa8eb3af.zip |
drm/i915: Don't oops during modeset shutdown after lpe audio deinit
commit 6a8915d0f8cf323e1beb792a33095cf652db4056 upstream.
We deinit the lpe audio device before we call
drm_atomic_helper_shutdown(), which means the platform device
may already be gone when it comes time to shut down the crtc.
As we don't know when the last reference to the platform
device gets dropped by the audio driver we can't assume that
the device and its data are still around when turning off the
crtc. Mark the platform device as gone as soon as we do the
audio deinit.
Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181105194604.6994-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit f45a7977d1140c11f334e01a9f77177ed68e3bfa)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions