]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitf1748b1ee1fa0fd1a074504045b530b62f949188
treec6507b1a03155363c846b484110e1844a0ee8ae7
parent507cd4d2c5eb2d647d27b1047e1a8c73c4890cf3
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: 58ecdf03dbb9 ("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