]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: Refactor rproc module locking
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 3 Oct 2016 00:46:39 +0000 (17:46 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 3 Oct 2016 05:50:22 +0000 (22:50 -0700)
commitd7bbef138b3ae2d89df8dcaf0714d4b3930243a0
treebdec6ae8cb1d4d1c786c84335df7bb8760494dc8
parent6dfb206e87085a9e135619ea1ecf24b4e0dbfdad
remoteproc: Refactor rproc module locking

Lock the implementation as we hand out references to client drivers
rather than when they try to boot the remote processor. This allows
auto-booting remote processors to be shut down by unloading their
module, in addition to first unbinding them.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c