dpaux.c (c103b850721e4a79ff9578f131888129c37a4679) | dpaux.c (6cba3fe433415b2549c909ce72601902c8254a83) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2013 NVIDIA Corporation 4 */ 5 6#include <linux/clk.h> 7#include <linux/delay.h> 8#include <linux/interrupt.h> --- 705 unchanged lines hidden (view full) --- 714} 715 716int drm_dp_aux_attach(struct drm_dp_aux *aux, struct tegra_output *output) 717{ 718 struct tegra_dpaux *dpaux = to_dpaux(aux); 719 unsigned long timeout; 720 int err; 721 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2013 NVIDIA Corporation 4 */ 5 6#include <linux/clk.h> 7#include <linux/delay.h> 8#include <linux/interrupt.h> --- 705 unchanged lines hidden (view full) --- 714} 715 716int drm_dp_aux_attach(struct drm_dp_aux *aux, struct tegra_output *output) 717{ 718 struct tegra_dpaux *dpaux = to_dpaux(aux); 719 unsigned long timeout; 720 int err; 721 |
722 aux->drm_dev = output->connector.dev; |
|
722 err = drm_dp_aux_register(aux); 723 if (err < 0) 724 return err; 725 726 output->connector.polled = DRM_CONNECTOR_POLL_HPD; 727 dpaux->output = output; 728 729 if (output->panel) { --- 93 unchanged lines hidden --- | 723 err = drm_dp_aux_register(aux); 724 if (err < 0) 725 return err; 726 727 output->connector.polled = DRM_CONNECTOR_POLL_HPD; 728 dpaux->output = output; 729 730 if (output->panel) { --- 93 unchanged lines hidden --- |