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

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

Merge "coresight: disable the path when enable source link fail"

parents 6c06c79c ee57fff8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2012, 2017-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012, 2017-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/kernel.h>
@@ -1016,6 +1016,7 @@ static void coresight_enable_source_link(struct list_head *path)

	return;
err:
	coresight_disable_path_from(path, nd);
	coresight_release_path(csdev, path);
}