Revert "drm/i915: Remove superfluous NULL check"
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Dec 2015 14:54:30 +0000 (15:54 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Dec 2015 14:54:30 +0000 (15:54 +0100)
commitd8578836ad2ebaaf0a899c72d12201009e0ad1e5
treeb963cf848d5608de898c966d8f3d49660725850e
parent6a8beeffed3b2d33151150e3a03696e697f16d46
Revert "drm/i915: Remove superfluous NULL check"

This reverts commit 89f41f4f90741fe94b6da9d4d366628a9b0be8f1.

It's possible that ->crtc is NULL in here. Noticed by Ville.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_audio.c