commit | 20b5d24c7669813ec73589146f7dcefbf259a26a | [log] [tgz] |
---|---|---|
author | Bitan Biswas <bbiswas@nvidia.com> | Fri Jun 14 09:31:01 2019 -0700 |
committer | Jassi Brar <jaswinder.singh@linaro.org> | Wed Jul 10 23:08:44 2019 -0500 |
tree | 90da1fd417572b74831dc7f7ef1e489fca463c3a | |
parent | b1a399530ca9bc958ac48fe85837c791f89a3be2 [diff] |
mailbox: tegra: avoid resume NULL mailboxes If Tegra HSP device tree does not have 'shared irqs', mailboxes pointer is NULL. Add non-NULL HSP mailboxes check in resume callback before tegra_hsp_mailbox_startup() call and prevent NULL pointer exception. Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>