]> git.baikalelectronics.ru Git - arm-tf.git/commit
arm/css/scpi: Don't panic if the SCP fails to respond
authorSamuel Holland <samuel@sholland.org>
Sun, 21 Oct 2018 17:44:24 +0000 (12:44 -0500)
committerSamuel Holland <samuel@sholland.org>
Thu, 13 Feb 2020 03:16:46 +0000 (21:16 -0600)
commit98367c8061c103159475ecf5beba48da597c84bf
treedba439dda3c33219bc88bd2eb4b32f391de81119
parent51d72d3adbc4a2f97f3dd9f2e80bd7f64596c06e
arm/css/scpi: Don't panic if the SCP fails to respond

Instead, pass back the error to the calling function. This allows
platform code to fall back to another PSCI implementation if
scpi_wait_ready() or a later SCPI command fails.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ib4411e63c2512857f09ffffe1c405358dddeb4a6
drivers/arm/css/scpi/css_scpi.c