diff options
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | 2014-09-29 20:15:34 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-09-30 14:44:54 +1000 |
commit | 2ea02fd65426c1c7f15806920e58d6299aefff42 (patch) | |
tree | 747d80f880817a4251150ad78b7a0765147a3a90 | |
parent | 57357e73f37659210da035c135b8d1a6a1d9bbb9 (diff) | |
download | skiboot-2ea02fd65426c1c7f15806920e58d6299aefff42.zip skiboot-2ea02fd65426c1c7f15806920e58d6299aefff42.tar.gz skiboot-2ea02fd65426c1c7f15806920e58d6299aefff42.tar.bz2 |
dpo: Fix missing return statement
This patch adds a positive return statement after handling
DPO message from FSP. Currently it was returning a negetive
value for all the possible cases.
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | hw/fsp/fsp-dpo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/fsp/fsp-dpo.c b/hw/fsp/fsp-dpo.c index dc443a1..b5c1861 100644 --- a/hw/fsp/fsp-dpo.c +++ b/hw/fsp/fsp-dpo.c @@ -107,6 +107,7 @@ static bool fsp_dpo_message(u32 cmd_sub_mod, struct fsp_msg *msg) if (cmd_sub_mod == FSP_CMD_INIT_DPO) { printf(PREFIX "SP initiated Delayed Power Off (DPO)\n"); fsp_process_dpo(msg); + return true; } return false; } |