]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(scmi-msg): base: fix protocol list querying
authorEtienne Carriere <etienne.carriere@linaro.org>
Thu, 12 May 2022 14:49:51 +0000 (16:49 +0200)
committerEtienne Carriere <etienne.carriere@linaro.org>
Mon, 16 May 2022 08:32:32 +0000 (10:32 +0200)
commitcad90b569db7c547470cca922bd93207adcadfad
tree1bdfbb1fbdbfa3783354ce1b283bc59f5ea5ea96
parentd323f0cf000f1d999bf78d89c0037af76b6bf8d8
fix(scmi-msg): base: fix protocol list querying

Corrects the function reporting the SCMI protocols supported by the
platform to not assume 8 protocol IDs at most can be returned. Indeed
the number of protocol IDs returned depends on the SCMI output buffer
size.

Change-Id: Idafbe02d2b25b3bcacaf25977c560c0ac5bb8d62
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
drivers/scmi-msg/base.c