Re: [PATCH v5 5/5] interconnect: qcom: icc-rpm: Set bandwidth and clock for bucket values

From: Leo Yan
Date: Mon Jul 11 2022 - 21:28:40 EST


Hi Georgi,

On Mon, Jul 11, 2022 at 04:53:47PM +0300, Georgi Djakov wrote:

[...]

> > static int qcom_icc_set(struct icc_node *src, struct icc_node *dst)
> > {
> > struct qcom_icc_provider *qp;
> > struct qcom_icc_node *src_qn = NULL, *dst_qn = NULL;
> > struct icc_provider *provider;
> > - struct icc_node *n;
> > u64 sum_bw;
> > - u64 max_peak_bw;
> > u64 rate;
> > - u32 agg_avg = 0;
> > - u32 agg_peak = 0;
> > + u64 agg_avg[QCOM_ICC_NUM_BUCKETS], agg_peak[QCOM_ICC_NUM_BUCKETS];
> > + u64 max_agg_avg, max_agg_peak;
>
> Now max_agg_peak is unused?

Sorry for this mistake. Will send new patch series soon.

Thanks,
Leo