Thread (26 messages) 26 messages, 5 authors, 2018-07-20

[PATCH v6 6/8] interconnect: qcom: Add msm8916 interconnect provider driver

From: Georgi Djakov <hidden>
Date: 2018-07-20 14:55:51
Also in: linux-arm-msm, linux-pm, lkml

Hi Alexandre,

On 07/11/2018 06:42 PM, Alexandre Bailon wrote:
On 07/09/2018 05:51 PM, Georgi Djakov wrote:
quoted
Add driver for the Qualcomm interconnect buses found in msm8916 based
platforms.

Signed-off-by: Georgi Djakov <redacted>
---
 drivers/interconnect/Kconfig        |   5 +
 drivers/interconnect/Makefile       |   1 +
 drivers/interconnect/qcom/Kconfig   |  10 +
 drivers/interconnect/qcom/Makefile  |   2 +
 drivers/interconnect/qcom/msm8916.c | 499 ++++++++++++++++++++++++++++
 5 files changed, 517 insertions(+)
 create mode 100644 drivers/interconnect/qcom/msm8916>>
[..]
quoted
+static int qcom_icc_set(struct icc_node *src, struct icc_node *dst,
+			u32 avg, u32 peak)
+{
+	struct qcom_icc_provider *qp;
+	struct qcom_icc_node *qn;
+	struct icc_node *node;
+	struct icc_provider *provider;
+	u64 avg_bw = icc_units_to_bps(avg);
+	u64 peak_bw = icc_units_to_bps(peak);
+	u64 rate = 0;
+	int ret = 0;
+
+	if (!src)
NIT: I think that src can't be NULL (there is a if statement to avoid it
in apply_constraints()).
Yes, true!

Thanks,
Georgi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help