OSDN Git Service

firmware: arm_scmi: Clear stale xfer->hdr.status
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 22 Dec 2022 18:38:19 +0000 (18:38 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 3 Jan 2023 16:50:29 +0000 (16:50 +0000)
commitf6ca5059dc0d6608dc46070f48e396d611f240d6
treecaa67c30e0b450cdf65e444cdb848b0ed44f5588
parent1b929c02afd37871d5afb9d498426f83432e71c2
firmware: arm_scmi: Clear stale xfer->hdr.status

Stale error status reported from a previous message transaction must be
cleared before starting a new transaction to avoid being confusingly
reported in the following SCMI message dump traces.

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