summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/dpaux.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-04-25 18:44:48 +0400
committerThierry Reding <treding@nvidia.com>2014-06-06 01:14:48 +0400
commit7c4633861f810fb52a75ea45a7ae1df2a14fe745 (patch)
tree2d5c1333f6abd4c5bf68f3fcb082c48ead809c57 /drivers/gpu/drm/tegra/dpaux.c
parent2fff79d38bbed2266232d2526a19d42cde476ea7 (diff)
downloadlinux-7c4633861f810fb52a75ea45a7ae1df2a14fe745.tar.xz
drm/tegra: dp - Mark the connector as hotplug capable
Doing so allows the hotplug events generated by the connector to be properly handled by the DRM poll helpers. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dpaux.c')
-rw-r--r--drivers/gpu/drm/tegra/dpaux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c
index 208fc1bef7c5..3f132e356e9c 100644
--- a/drivers/gpu/drm/tegra/dpaux.c
+++ b/drivers/gpu/drm/tegra/dpaux.c
@@ -414,6 +414,7 @@ int tegra_dpaux_attach(struct tegra_dpaux *dpaux, struct tegra_output *output)
unsigned long timeout;
int err;
+ output->connector.polled = DRM_CONNECTOR_POLL_HPD;
dpaux->output = output;
err = regulator_enable(dpaux->vdd);