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

Commit 802d279d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: fix invalid length can be configured to DCC"

parents afeee38b 1dc4a359
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1063,8 +1063,6 @@ static ssize_t dcc_store_config(struct device *dev,
		apb_bus = 1;
	}

	if (len == 0)
		len = 1;

	if (base == 0) {
		dev_err(drvdata->dev, "DCC: Invalid  Address\n");