Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be86942a authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/dp: return an error if AUX switch parsing fails"

parents 965345c9 2dc8a881
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 */

#define pr_fmt(fmt)	"[drm-dp] %s: " fmt, __func__
@@ -1858,6 +1858,7 @@ static int dp_display_init_aux_switch(struct dp_display_private *dp)
			phandle, 0);
	if (!dp->aux_switch_node) {
		pr_warn("cannot parse %s handle\n", phandle);
		rc = -ENODEV;
		goto end;
	}