drm/panel: simple: Allow GPIO accesses to sleep
authorThierry Reding <treding@nvidia.com>
Fri, 14 Mar 2014 11:03:47 +0000 (12:03 +0100)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:39 +0000 (11:47 +0900)
commit0c0e2220587f73ab31ab8cdce0d30f6e997de1f4
tree4b63f1fa295fbfbd5fb545b7abe035474028f4dd
parent61d27b9a667a7fc3a1b97ede5a2fc51f41ae012c
drm/panel: simple: Allow GPIO accesses to sleep

The enable GPIO for panels may be provided by GPIO expanders on slow
busses (such as I2C), and therefore toggling the GPIO may sleep. Since
these accesses don't happen in interrupt context, use the *_cansleep()
variants of the GPIO API.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/panel/panel-simple.c