projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'v5.7-rc7' into perf/core, to pick up fixes
[linux-2.6-microblaze.git]
/
drivers
/
bus
/
mhi
/
core
/
init.c
diff --git
a/drivers/bus/mhi/core/init.c
b/drivers/bus/mhi/core/init.c
index
eb2ab05
..
1f8c826
100644
(file)
--- a/
drivers/bus/mhi/core/init.c
+++ b/
drivers/bus/mhi/core/init.c
@@
-291,6
+291,7
@@
int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl)
}
/* Setup cmd context */
}
/* Setup cmd context */
+ ret = -ENOMEM;
mhi_ctxt->cmd_ctxt = mhi_alloc_coherent(mhi_cntrl,
sizeof(*mhi_ctxt->cmd_ctxt) *
NR_OF_CMD_RINGS,
mhi_ctxt->cmd_ctxt = mhi_alloc_coherent(mhi_cntrl,
sizeof(*mhi_ctxt->cmd_ctxt) *
NR_OF_CMD_RINGS,
@@
-1100,6
+1101,7
@@
static int mhi_driver_probe(struct device *dev)
}
}
}
}
+ ret = -EINVAL;
if (dl_chan) {
/*
* If channel supports LPM notifications then status_cb should
if (dl_chan) {
/*
* If channel supports LPM notifications then status_cb should