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)
commit28d7d5c66d560730fdfe021b129e7d3f72a4b97f
tree81bf065d7e1f0d3ac1eb653c431b8b13293f9265
parenta987e6b91a5ac0e08782506b1f879e37dab3b605
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: c874bf59add0 ("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