Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311049
b: refs/heads/master
c: 30338cf
h: refs/heads/master
i:
  311047: e78d0f4
v: v3
  • Loading branch information
Sjur Brændeland authored and Ohad Ben-Cohen committed Jun 10, 2012
1 parent 51bcf91 commit 5cde6af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e981f6d41acda2ae8c05e60feb2cb97772b4a6e6
refs/heads/master: 30338cf09f82523d8747670f7363cc8af347c79f
4 changes: 3 additions & 1 deletion trunk/drivers/remoteproc/remoteproc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,8 +1041,10 @@ static int rproc_fw_boot(struct rproc *rproc, const struct firmware *fw)

/* look for the resource table */
table = rproc_find_rsc_table(rproc, fw->data, fw->size, &tablesz);
if (!table)
if (!table) {
ret = -EINVAL;
goto clean_up;
}

/* handle fw resources which are required to boot rproc */
ret = rproc_handle_boot_rsc(rproc, table, tablesz);
Expand Down

0 comments on commit 5cde6af

Please sign in to comment.