diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-11-14 15:18:28 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-03-24 13:50:56 +0200 |
commit | ccd7b5ed7d1ed47ee5ea2f66325972811eb093bd (patch) | |
tree | 23f62404c19aff8b6cd0b8c4c854c0207d65fff3 /drivers/gpu/drm/omapdrm/omap_crtc.c | |
parent | f5a1d3174f9e1d2d55bfd06626586963283e58be (diff) |
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 <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
0 files changed, 0 insertions, 0 deletions