summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-04-25 16:44:48 +0200
committerThierry Reding <treding@nvidia.com>2014-06-05 23:14:48 +0200
commit7c4633861f810fb52a75ea45a7ae1df2a14fe745 (patch)
tree2d5c1333f6abd4c5bf68f3fcb082c48ead809c57 /drivers
parent2fff79d38bbed2266232d2526a19d42cde476ea7 (diff)
downloadop-kernel-dev-7c4633861f810fb52a75ea45a7ae1df2a14fe745.zip
op-kernel-dev-7c4633861f810fb52a75ea45a7ae1df2a14fe745.tar.gz
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')
-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 208fc1b..3f132e3 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);
OpenPOWER on IntegriCloud