From: Tomi Valkeinen Date: Fri, 14 Nov 2014 13:18:28 +0000 (+0200) Subject: drm/omap: stop connector polling during suspend X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccd7b5ed7d1ed47ee5ea2f66325972811eb093bd;p=pandora-kernel.git drm/omap: stop connector polling during suspend When not using proper hotplug detection, DRM polls periodically the connectors to find out if a cable is connected. This polling can happen at any time, even very late in the suspend process. This causes a problem with omapdrm, when the poll happens during the suspend process after GPIOs have been disabled, leading to a crash in gpio_get(). This patch fixes the issue by adding suspend and resume hooks to omapdrm, in which we disable and enable, respectively, the polling. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed