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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:59:00 +0000 (07:59 +0100)
commite8bb772f745e02c04c19103b1f343752784a3c17
tree1651c57e6970050b24d7ca13e5e58b1a1553bb58
parent80cb9f1a76aadcde068535eae98565be131f6955
firmware: arm_scmi: Clear stale xfer->hdr.status

[ Upstream commit f6ca5059dc0d6608dc46070f48e396d611f240d6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/arm_scmi/driver.c