Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 00ee3a13 authored by Stefan Wahren's avatar Stefan Wahren Committed by Jassi Brar
Browse files

mailbox: bcm2835: Fix of_xlate return value



The bcm2835-mailbox returns NULL instead of an error pointer, which could
result in a NULL ptr dereference in mbox_request_channel. So fix this
by returning a proper error pointer.

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Fixes: 0bae6af6 ("mailbox: Enable BCM2835 mailbox support")
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 61a2f6db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment