]> 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)
commita6028592bf1e65b2b74341edf766a29e7afb9346
tree81bf065d7e1f0d3ac1eb653c431b8b13293f9265
parentae61f578d58e92f3cbf7f8e4f2b3fa95be983a3d
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: 5b5269f3c697 ("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