summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJimmy Huang <jimmy.huang@mediatek.com>2015-12-31 16:52:35 +0800
committerYidi Lin <yidi.lin@mediatek.com>2016-01-04 09:49:39 +0800
commitc85a15fcbec0c6aa6234bf70f7bba7b9e39dca00 (patch)
treecfa7a1d5e9527d005a33abb3016c671241ac1f0a /drivers
parentd0c104e1e1ad0102f0f4c70997b7ee6e6fbbe273 (diff)
Add ret to return from console_uninit() function
The 'ret' was missing in console_uninit() implementation, so the program doesn't return from console_uninit(). Instead, it keeps executing the following instructions which is not expected. Change-Id: I810684f37f61c41c6f95a3bb36914d0765da8571 Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/console/console.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/console/console.S b/drivers/console/console.S
index 40a6db9f..b7723638 100644
--- a/drivers/console/console.S
+++ b/drivers/console/console.S
@@ -79,6 +79,7 @@ func console_uninit
mov x0, #0
adrp x3, console_base
str x0, [x3, :lo12:console_base]
+ ret
endfunc console_uninit
/* ---------------------------------------------