]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/tegra: dp - Mark the connector as hotplug capable
authorThierry Reding <treding@nvidia.com>
Fri, 25 Apr 2014 14:44:48 +0000 (16:44 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:14:48 +0000 (23:14 +0200)
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>
drivers/gpu/drm/tegra/dpaux.c

index 208fc1bef7c5423f9276fe63ec8adcbf2955ab60..3f132e356e9cd393394bdce5a3594765be08d596 100644 (file)
@@ -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);