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

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

Merge "msm: msm_bus: Don't program bw regs in dual config"

parents 1bfed772 fb5f354e
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-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
@@ -1919,8 +1919,10 @@ static void msm_bus_bimc_update_bw(struct msm_bus_inode_info *hop,
			qbw.thh = div_s64((110 * bw), 100);
			/* Check if info is a shared master.
			 * If it is, mark it dirty
			 * If it isn't, then set QOS Bandwidth
			 * If it isn't, then set QOS Bandwidth.
			 * Also if dual-conf is set, don't program bw regs.
			 **/
			if (!info->node_info->dual_conf)
				msm_bus_bimc_set_qos_bw(binfo,
					info->node_info->qport[i], &qbw);
		}