We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf92165 + e2f9baa commit 849c6b5Copy full SHA for 849c6b5
switchtec.c
@@ -144,10 +144,6 @@ static void mrpc_cmd_submit(struct switchtec_dev *stdev)
144
stuser->data, stuser->data_len);
145
iowrite32(stuser->cmd, &stdev->mmio_mrpc->cmd);
146
147
- stuser->status = ioread32(&stdev->mmio_mrpc->status);
148
- if (stuser->status != SWITCHTEC_MRPC_STATUS_INPROGRESS)
149
- mrpc_complete_cmd(stdev);
150
-
151
schedule_delayed_work(&stdev->mrpc_timeout,
152
msecs_to_jiffies(500));
153
}
0 commit comments