From 5cde6af0844a41c846c26f89baf8e338dad08c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sjur=20Br=C3=A6ndeland?= Date: Sun, 10 Jun 2012 14:37:51 +0300 Subject: [PATCH] --- yaml --- r: 311049 b: refs/heads/master c: 30338cf09f82523d8747670f7363cc8af347c79f h: refs/heads/master i: 311047: e78d0f409c05cb123f1732d2c52052fbde1bd185 v: v3 --- [refs] | 2 +- trunk/drivers/remoteproc/remoteproc_core.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index cb1f773d182d..0f2a84dbb24c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e981f6d41acda2ae8c05e60feb2cb97772b4a6e6 +refs/heads/master: 30338cf09f82523d8747670f7363cc8af347c79f diff --git a/trunk/drivers/remoteproc/remoteproc_core.c b/trunk/drivers/remoteproc/remoteproc_core.c index cb13f1b74416..66324ee4678f 100644 --- a/trunk/drivers/remoteproc/remoteproc_core.c +++ b/trunk/drivers/remoteproc/remoteproc_core.c @@ -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);