Skip to content

Commit 17f243a

Browse files
pierregondoissudeep-holla
authored andcommitted
firmware: arm_scmi: Fix wrong fastchannel initialization
Fastchannels are initialized with an incorrect index(POWERCAP_PAI_GET) in: commit 2441caa ("firmware: arm_scmi: Populate fast channel rate_limit") Fix this and provide a correct index(POWERCAP_FC_PAI) Fixes: 2441caa ("firmware: arm_scmi: Populate fast channel rate_limit") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Pierre Gondois <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sudeep Holla <[email protected]>
1 parent 4cece76 commit 17f243a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/arm_scmi/powercap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ static void scmi_powercap_domain_init_fc(const struct scmi_protocol_handle *ph,
736736
ph->hops->fastchannel_init(ph, POWERCAP_DESCRIBE_FASTCHANNEL,
737737
POWERCAP_PAI_GET, 4, domain,
738738
&fc[POWERCAP_FC_PAI].get_addr, NULL,
739-
&fc[POWERCAP_PAI_GET].rate_limit);
739+
&fc[POWERCAP_FC_PAI].rate_limit);
740740

741741
*p_fc = fc;
742742
}

0 commit comments

Comments
 (0)