diff options
| -rw-r--r-- | drivers/video/tegra/dc/of_dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/dc/of_dc.c b/drivers/video/tegra/dc/of_dc.c index a90538156..de8acdc02 100644 --- a/drivers/video/tegra/dc/of_dc.c +++ b/drivers/video/tegra/dc/of_dc.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * of_dc.c: tegra dc of interface. | 2 | * of_dc.c: tegra dc of interface. |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2013-2019, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2013-2021, NVIDIA CORPORATION. All rights reserved. |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
| @@ -2865,7 +2865,7 @@ struct tegra_dc_platform_data *of_dc_parse_platform_data( | |||
| 2865 | case TEGRA_DC_OUT_FAKE_DP: | 2865 | case TEGRA_DC_OUT_FAKE_DP: |
| 2866 | case TEGRA_DC_OUT_HDMI: | 2866 | case TEGRA_DC_OUT_HDMI: |
| 2867 | case TEGRA_DC_OUT_DP: | 2867 | case TEGRA_DC_OUT_DP: |
| 2868 | if (dc->current_topology.conn_inst == 0) { | 2868 | if (dc && dc->current_topology.conn_inst == 0) { |
| 2869 | pdata->conn_np = | 2869 | pdata->conn_np = |
| 2870 | of_find_node_by_path("/host1x/sor"); | 2870 | of_find_node_by_path("/host1x/sor"); |
| 2871 | } else { | 2871 | } else { |
