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 07:06:31 +0000 (08:06 +0100)
commite0b9560bf1703651bcfad3db73363a1ecf82bf7f
tree3c2a496342418e7f264f0e54f03327f65105a62a
parentba355e99eff0f9b3b049420a0f86694b0d16fc03
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