Skip to content

Commit

Permalink
techpack: display: Merge LA.UM.9.14.r1-25500-LAHAINA.QSSI15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
psndna88 committed Dec 17, 2024
1 parent d9a90c5 commit 1980efb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion techpack/display/msm/dsi/dsi_display.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022, 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/

#include <linux/list.h>
Expand Down Expand Up @@ -6316,6 +6316,10 @@ int dsi_display_dev_remove(struct platform_device *pdev)
}

display = platform_get_drvdata(pdev);
if (!display || !display->panel_node) {
DSI_ERR("invalid display\n");
return -EINVAL;
}

/* decrement ref count */
of_node_put(display->panel_node);
Expand Down

0 comments on commit 1980efb

Please sign in to comment.