diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c index b763b27ce9ef9f080936c9f8fd278b6a1c7d4f1f..6ada1ee128fcecc8f3d9a218d103c41104777dc5 100644 --- a/drivers/staging/greybus/es2.c +++ b/drivers/staging/greybus/es2.c @@ -1204,6 +1204,8 @@ static int arpc_sync(struct es2_ap_dev *es2, u8 type, void *payload, *result = rpc->resp->result; if (*result) retval = -EREMOTEIO; + else + retval = 0; out_arpc_del: spin_lock_irqsave(&es2->arpc_lock, flags);