From: Sascha Hauer Date: Thu, 10 Oct 2013 14:18:44 +0000 (+0200) Subject: staging: drm/imx: fix pageflip events during device close X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~372 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee4d7fe1b5f8c9c32410ddf1f1aa84bdeaed6b9;p=pandora-kernel.git staging: drm/imx: fix pageflip events during device close During a device close the drm core frees all pending events in drm_events_release(). If at that time a pageflip is pending the interrupt handler will try to complete the now unitialized event resulting in a NULL pointer exception. Seen on imx-drm when userspace is killed during a page flip. Signed-off-by: Sascha Hauer Signed-off-by: Philipp Zabel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed