diff options
| -rw-r--r-- | drivers/rpmsg/qcom_glink_native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rpmsg/qcom_glink_native.c b/drivers/rpmsg/qcom_glink_native.c index 666068202597..8bc0d0456a40 100644 --- a/drivers/rpmsg/qcom_glink_native.c +++ b/drivers/rpmsg/qcom_glink_native.c | |||
| @@ -1264,7 +1264,7 @@ static int __qcom_glink_send(struct glink_channel *channel, | |||
| 1264 | ret = qcom_glink_tx(glink, &req, sizeof(req), data, len, wait); | 1264 | ret = qcom_glink_tx(glink, &req, sizeof(req), data, len, wait); |
| 1265 | 1265 | ||
| 1266 | /* Mark intent available if we failed */ | 1266 | /* Mark intent available if we failed */ |
| 1267 | if (ret) | 1267 | if (ret && intent) |
| 1268 | intent->in_use = false; | 1268 | intent->in_use = false; |
| 1269 | 1269 | ||
| 1270 | return ret; | 1270 | return ret; |
