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.
1 parent 1333174 commit 1ea34b2Copy full SHA for 1ea34b2
drivers/bus/mhi/core/init.c
@@ -291,6 +291,7 @@ int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl)
291
}
292
293
/* Setup cmd context */
294
+ ret = -ENOMEM;
295
mhi_ctxt->cmd_ctxt = mhi_alloc_coherent(mhi_cntrl,
296
sizeof(*mhi_ctxt->cmd_ctxt) *
297
NR_OF_CMD_RINGS,
@@ -1100,6 +1101,7 @@ static int mhi_driver_probe(struct device *dev)
1100
1101
1102
1103
1104
+ ret = -EINVAL;
1105
if (dl_chan) {
1106
/*
1107
* If channel supports LPM notifications then status_cb should
0 commit comments