firmware: scmi: mailbox transport: fix probe failure implementation
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 8 Nov 2021 07:56:08 +0000 (08:56 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 23 Nov 2021 18:53:03 +0000 (13:53 -0500)
commit7b4993907a8c6839b14a769b98d56dddbf7cbe88
tree6b4371b8f8f491eee720822c5bf2bf1e1e12f92d
parent5ddbbd19576c33f584da056c78778268dcb6ad67
firmware: scmi: mailbox transport: fix probe failure implementation

Correct scmi mailbox probe function that can't free the scmi channel
instance since its auto-allocated by the device model framework.

Cc: Simon Glass <sjg@chromium.org>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/firmware/scmi/mailbox_agent.c