]> asedeno.scripts.mit.edu Git - linux.git/commit
soc/tegra: pmc: Fail to allocate more than one wake IRQ
authorThierry Reding <treding@nvidia.com>
Mon, 27 May 2019 10:15:12 +0000 (12:15 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 5 Jun 2019 07:52:53 +0000 (09:52 +0200)
commit77226d97725034542caadf97a4bb9969d5838ee8
treee9f7c0cada39356c8d83ee7169a464b3f1b7aee8
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
soc/tegra: pmc: Fail to allocate more than one wake IRQ

The code currently doesn't support allocating more than one wake IRQ at
a time. Detect this situation and error out. Also make sure to output a
warning when that happens to help track down callers.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c