Ver Fonte

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>
Thierry Reding há 11 anos atrás
pai
commit
7c4633861f
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      drivers/gpu/drm/tegra/dpaux.c

+ 1 - 0
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;
 	unsigned long timeout;
 	int err;
 	int err;
 
 
+	output->connector.polled = DRM_CONNECTOR_POLL_HPD;
 	dpaux->output = output;
 	dpaux->output = output;
 
 
 	err = regulator_enable(dpaux->vdd);
 	err = regulator_enable(dpaux->vdd);