]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: arm_scmi: Add delayed response status check
authorCristian Marussi <cristian.marussi@arm.com>
Tue, 8 Jun 2021 10:30:56 +0000 (11:30 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 8 Jun 2021 14:10:14 +0000 (15:10 +0100)
commit3f5a764be046aafa04dbad0683c7db7585997848
treec6507b1a03155363c846b484110e1844a0ee8ae7
parentb29763f6905c886dd8d11ca8fca6f8b9e48e3e1c
firmware: arm_scmi: Add delayed response status check

A successfully received delayed response could anyway report a failure at
the protocol layer in the message status field.

Add a check also for this error condition.

Link: https://lore.kernel.org/r/20210608103056.3388-1-cristian.marussi@arm.com
Fixes: bc1f4958db95 ("firmware: arm_scmi: Add support for asynchronous commands and delayed response")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c