firmware: arm_scmi: Refactor xfer in-flight registration routines
authorCristian Marussi <cristian.marussi@arm.com>
Wed, 18 Jan 2023 12:14:10 +0000 (12:14 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 20 Jan 2023 11:40:17 +0000 (11:40 +0000)
commitb0e924a955cb9e9da759a7a2940f35679864222f
treece6943f61c96bc7cc4126066d78815ed7387e4bc
parent37b5be82803270626286215b5bc4427ed2a3aecb
firmware: arm_scmi: Refactor xfer in-flight registration routines

Move the whole xfer in-flight registration process out of scmi_xfer_get
and while at that, split the sequence number selection steps from the
in-flight registration procedure itself.

No functional change.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20230118121426.492864-2-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c