diff options
author | Guillaume Aubertin <g-aubertin@ti.com> | 2012-08-24 15:56:28 +0200 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-09-07 13:07:24 +0800 |
commit | 0fda9f957a4b8c18278a39434a32cf3ba591c201 (patch) | |
tree | 631359e4d920c58e36a074b67c16c98a3d91ba89 /drivers | |
parent | e0601c38814898a60faacc7a397df5176588ba50 (diff) |
remoteproc: fix to rmmod omap_remoteproc when no firmware is loaded
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/remoteproc/remoteproc_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 5e70cc7414cc..7300ace0abe3 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -2062,6 +2062,7 @@ static int rproc_loader_thread(struct rproc *rproc) if (ret || !fw) { dev_info(dev, "error %d requesting firmware %s\n", ret, rproc->firmware); + complete_all(&rproc->firmware_loading_complete); return ret; } |