• Bjorn Andersson's avatar
    remoteproc: Drop wait in __rproc_boot() · 2bfc311a
    Bjorn Andersson authored
    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: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
    2bfc311a
remoteproc_core.c 42.3 KB