summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm831x-i2c.c
diff options
context:
space:
mode:
authorBitan Biswas <bbiswas@nvidia.com>2019-06-14 18:31:01 +0200
committerJassi Brar <jaswinder.singh@linaro.org>2019-07-11 06:08:44 +0200
commit20b5d24c7669813ec73589146f7dcefbf259a26a (patch)
tree90da1fd417572b74831dc7f7ef1e489fca463c3a /drivers/mfd/wm831x-i2c.c
parentmailbox: tegra: hsp: add noirq resume (diff)
downloadlinux-20b5d24c7669813ec73589146f7dcefbf259a26a.tar.xz
linux-20b5d24c7669813ec73589146f7dcefbf259a26a.zip
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>
Diffstat (limited to 'drivers/mfd/wm831x-i2c.c')
0 files changed, 0 insertions, 0 deletions