]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: arm_scmi: Generalize the fast channel support
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 4 Jul 2022 10:22:37 +0000 (11:22 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 4 Jul 2022 13:28:42 +0000 (14:28 +0100)
commitbdb5ff1a830b5e9354a9db454a3a10bd1db6fd13
tree1d731ae1852a7670e3634e5b93854a974c0c924d
parentb2c491afc4f7bc3003b55edb12f5eac1402872b3
firmware: arm_scmi: Generalize the fast channel support

Generalize existing fast channel support used in the perf protocol and
make it available to possibly any protocol refactoring the common code
into a couple of new scmi_proto_helpers_ops routines.

Make perf protocol use this new infrastructure.

No functional change.

Link: https://lore.kernel.org/r/20220704102241.2988447-4-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c
drivers/firmware/arm_scmi/perf.c
drivers/firmware/arm_scmi/protocols.h