]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mailbox: imx: Fix return in imx_mu_scu_xlate()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 7 Apr 2020 09:27:53 +0000 (12:27 +0300)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 30 May 2020 21:07:51 +0000 (16:07 -0500)
commit1b3a347b7d56aa637157da1b7df225071af1421f
treef244dda1b86a43b201b5eebb324f8ddfcde3b2b2
parent676f23eab75adbf72c029bdfb7b5a7b2f1129177
mailbox: imx: Fix return in imx_mu_scu_xlate()

This called from mbox_request_channel().  The caller is  expecting error
pointers and not NULL so this "return NULL;" will lead to an Oops.

Fixes: 0a67003b1985 ("mailbox: imx: add SCU MU support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/imx-mailbox.c