linux-stable/drivers/mailbox
Jon Hunter c745da8d43 mailbox: tegra: Fix superfluous IRQ error message
Commit 7723f4c5ec ("driver core: platform: Add an error message to
platform_get_irq*()") added an error message to avoid drivers having
to print an error message when IRQ lookup fails. However, there are
some cases where IRQs are optional and so new optional versions of
the platform_get_irq*() APIs have been added for these cases.

The IRQs for Tegra HSP module are optional because not all instances
of the module have the doorbell and all of the shared interrupts.
Hence, since the above commit was applied the following error messages
are now seen on Tegra194 ...

 ERR KERN tegra-hsp c150000.hsp: IRQ doorbell not found
 ERR KERN tegra-hsp c150000.hsp: IRQ shared0 not found

The Tegra HSP driver deliberately does not fail if these are not found
and so fix the above errors by updating the Tegra HSP driver to use
the platform_get_irq_byname_optional() API.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20191011083459.11551-1-jonathanh@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 15:09:19 +01:00
..
arm_mhu.c mailbox: arm_mhu: reorder header inclusion and drop unneeded ones 2019-07-10 23:08:43 -05:00
armada-37xx-rwtm-mailbox.c mailbox: armada-37xx-rwtm: Use device-managed registration API 2019-09-17 00:38:43 -05:00
bcm-flexrm-mailbox.c - stm32: race fix by adding a spinlock 2019-07-14 16:36:51 -07:00
bcm-pdc-mailbox.c Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
bcm2835-mailbox.c mailbox: bcm2835: Use device-managed registration API 2018-12-21 16:49:25 -06:00
hi3660-mailbox.c mailbox: hi3660: Use device-managed registration API 2018-12-21 16:49:25 -06:00
hi6220-mailbox.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
imx-mailbox.c mailbox: imx: Clear GIEn bit at shutdown 2019-07-10 23:08:44 -05:00
Kconfig mailbox: omap: Add support for TI K3 SoCs 2019-07-10 23:08:44 -05:00
mailbox-altera.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
mailbox-sti.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mailbox-test.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mailbox-xgene-slimpro.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
mailbox.c mailbox: handle failed named mailbox channel request 2019-07-11 10:19:00 -05:00
mailbox.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile mailbox: Add support for Armada 37xx rWTM mailbox 2019-05-09 00:41:00 -05:00
mtk-cmdq-mailbox.c mailbox: mediatek: cmdq: clear the event in cmdq initial flow 2019-09-17 00:40:05 -05:00
omap-mailbox.c mailbox: omap: Add support for TI K3 SoCs 2019-07-10 23:08:44 -05:00
pcc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
pl320-ipc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
platform_mhu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
qcom-apcs-ipc-mailbox.c mailbox: qcom-apcs: fix max_register value 2019-09-17 00:54:29 -05:00
rockchip-mailbox.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
stm32-ipcc.c mailbox: stm32_ipcc: add spinlock to fix channels concurrent access 2019-07-10 23:08:43 -05:00
tegra-hsp.c mailbox: tegra: Fix superfluous IRQ error message 2019-11-12 15:09:19 +01:00
ti-msgmgr.c mailbox: ti-msgmgr: Use device-managed registration API 2018-12-21 16:49:26 -06:00
zynqmp-ipi-mailbox.c mailbox: ZynqMP IPI mailbox controller 2019-03-06 20:34:20 -06:00