commit | 1b3a347b7d56aa637157da1b7df225071af1421f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Apr 07 12:27:53 2020 +0300 |
committer | Jassi Brar <jaswinder.singh@linaro.org> | Sat May 30 16:07:51 2020 -0500 |
tree | f244dda1b86a43b201b5eebb324f8ddfcde3b2b2 | |
parent | 676f23eab75adbf72c029bdfb7b5a7b2f1129177 [diff] |
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>