projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca26d28
)
drm/vc4: Let gpiolib know that we're OK with sleeping for HPD.
author
Eric Anholt
<eric@anholt.net>
Tue, 1 Mar 2016 01:53:00 +0000
(17:53 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 14 Mar 2016 00:06:36 +0000
(17:06 -0700)
Fixes an error thrown every few seconds when we poll HPD when it's on
a I2C to GPIO expander.
Signed-off-by: Eric Anholt <eric@anholt.net>
Tested-by: Daniel Stone <daniels@collabora.com>
drivers/gpu/drm/vc4/vc4_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_hdmi.c
b/drivers/gpu/drm/vc4/vc4_hdmi.c
index
56272ca
..
6bcf51d
100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_hdmi.c
+++ b/
drivers/gpu/drm/vc4/vc4_hdmi.c
@@
-166,7
+166,7
@@
vc4_hdmi_connector_detect(struct drm_connector *connector, bool force)
struct vc4_dev *vc4 = to_vc4_dev(dev);
if (vc4->hdmi->hpd_gpio) {
- if (gpio_get_value(vc4->hdmi->hpd_gpio))
+ if (gpio_get_value
_cansleep
(vc4->hdmi->hpd_gpio))
return connector_status_connected;
else
return connector_status_disconnected;