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

Commit 178d541b authored by Liron Kuch's avatar Liron Kuch
Browse files

msm: tspp2: Support working without bus scaling



The TSPP2 driver uses the bus scaling API to request bus bandwidth.
However, bus scaling can be completely disabled.
Add support to allow the TSPP2 driver to work even when bus scaling
is disabled.

Change-Id: I0a4cbd8f705aa6fb673b1a4d1ffe13c057e1d450
Signed-off-by: default avatarLiron Kuch <lkuch@codeaurora.org>
parent 48e8b938
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, 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
@@ -8303,9 +8303,8 @@ static int msm_tspp2_probe(struct platform_device *pdev)
		if (!device->bus_client)
			pr_err("%s: Unable to register bus client\n", __func__);
	} else {
		pr_err("%s: Platform bus client data not available\n",
		pr_err("%s: Platform bus client data not available. Continue anyway...\n",
			__func__);
		return -EINVAL;
	}

	rc = msm_tspp2_iommu_info_get(pdev, device);