]> git.karo-electronics.de Git - linux-beck.git/commit
remoteproc: Drop wait in __rproc_boot()
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 7 Dec 2016 01:04:45 +0000 (17:04 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 10 Dec 2016 00:16:55 +0000 (16:16 -0800)
commit2bfc311a57f5694106fdd0db7ca1eb6a4b35f2a9
tree3a92b363198b11f5408c7b5f008bb3d444772b7b
parent394c62000acb0b47b105d1b52e7d8f827c3293e3
remoteproc: Drop wait in __rproc_boot()

In the event that rproc_boot() is called before the firmware loaded
completion has been flagged it will wait with the mutex held,
obstructing the request_firmware_nowait() callback from completing the
wait.

As rproc_fw_config_virtio() has been reduced to only triggering
auto-boot there is no longer a reason for waiting in rproc_boot(), so
drop this.

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