diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2021-12-20 19:56:43 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2021-12-21 10:59:38 +0000 |
commit | 94d0cd1da14af0042c8ee7c2cf401dfc321c575c (patch) | |
tree | ea970dd89d44d57b01563b552ca11c077e061329 /drivers/firmware/arm_scmi/driver.c | |
parent | 0bfdca8a8661aaa2433b3f7b74d83e3520aa56e5 (diff) | |
download | linux-94d0cd1da14af0042c8ee7c2cf401dfc321c575c.tar.bz2 |
firmware: arm_scmi: Add new parameter to mark_txdone
Add a new xfer parameter to mark_txdone transport operation which enables
the SCMI core to optionally pass back into the transport layer a reference
to the xfer descriptor that is being handled.
Link: https://lore.kernel.org/r/20211220195646.44498-9-cristian.marussi@arm.com
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/driver.c')
-rw-r--r-- | drivers/firmware/arm_scmi/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c index 78924db59290..c2e7897ff56e 100644 --- a/drivers/firmware/arm_scmi/driver.c +++ b/drivers/firmware/arm_scmi/driver.c @@ -897,7 +897,7 @@ static int do_xfer(const struct scmi_protocol_handle *ph, ret = scmi_to_linux_errno(xfer->hdr.status); if (info->desc->ops->mark_txdone) - info->desc->ops->mark_txdone(cinfo, ret); + info->desc->ops->mark_txdone(cinfo, ret, xfer); trace_scmi_xfer_end(xfer->transfer_id, xfer->hdr.id, xfer->hdr.protocol_id, xfer->hdr.seq, ret); |