diff options
author | Ingo Molnar <mingo@kernel.org> | 2023-01-26 11:42:56 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-26 11:46:29 +0100 |
commit | 6397859c8e9d87190f49dabbb835114ad0ea9fcb (patch) | |
tree | 1d6bf48d035182fce3c6329e5e69d756f9bcb2ad /drivers/platform/surface/aggregator/controller.c | |
parent | 4282494a20cdcaf38d553f2c2ff6f252084f979c (diff) | |
parent | 2241ab53cbb5cdb08a6b2d4688feb13971058f65 (diff) |
Merge tag 'v6.2-rc5' into locking/core, to pick up fixes
Refresh this branch with the latest locking fixes, before
applying a new series of changes.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
-rw-r--r-- | drivers/platform/surface/aggregator/controller.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/platform/surface/aggregator/controller.c b/drivers/platform/surface/aggregator/controller.c index 43e765199137..c6537a1b3a2e 100644 --- a/drivers/platform/surface/aggregator/controller.c +++ b/drivers/platform/surface/aggregator/controller.c @@ -1700,8 +1700,10 @@ int ssam_request_sync(struct ssam_controller *ctrl, return status; status = ssam_request_sync_init(rqst, spec->flags); - if (status) + if (status) { + ssam_request_sync_free(rqst); return status; + } ssam_request_sync_set_resp(rqst, rsp); |