firmware: arm_scmi: Clear channel on reception of unexpected responses
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 20 Apr 2020 15:23:13 +0000 (16:23 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 20 Apr 2020 16:25:26 +0000 (17:25 +0100)
commitb37f5cc8d243479d7572445010fb6c9a4dff6dc4
tree9e864d33edbb5cd7e8cc591ebcdf599f81fc028b
parent87dff4e63cf2910f2e4a32d1cb3e4a1a25406eb7
firmware: arm_scmi: Clear channel on reception of unexpected responses

When an unexpected response message is received we currently warn the user
and bail-out, ensure to also free the channel by invoking the transport
independent operation .clear_channel()

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