]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: fix rproc_check_carveout_da() returned error and comments
authorLoic Pallardy <loic.pallardy@st.com>
Thu, 10 Jan 2019 13:49:11 +0000 (14:49 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 21 Feb 2019 05:34:19 +0000 (21:34 -0800)
commitd358b920cf81591467a7631483816c125f55c7fe
tree81bf065d7e1f0d3ac1eb653c431b8b13293f9265
parent3d22a0254905750684bd53132e3b8fa8a6c2c4ea
remoteproc: fix rproc_check_carveout_da() returned error and comments

Fix typo in comments.
Change returned error from ENOMEM to EINVAL as
not dealing with memory allocation.
Remove carveout forced da update and return an error
when no configuration match

Fixes: 8e2492106f83 ("remoteproc: add helper function to check carveout device address")
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c