Skip to content
Commit 15c1a919 authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
parent 887eb66e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment