ARM: tegra: allow 1-to-many irq to wake mapping
authorBitan Biswas <bbiswas@nvidia.com>
Sat, 18 May 2013 21:44:41 +0000 (02:44 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:28:16 +0000 (13:28 -0700)
commit87493df1c642d239c18fcece453472a4a4f770b5
tree9c49ea0507293f2576723c22f1713afad2240231
parent07e30a623e66ae300efd4fd187886d61b0118e38
ARM: tegra: allow 1-to-many irq to wake mapping

Problem:
Current Tegra wake table does not allow same USB irq to be used
for multiple wake sources.

Fix:
Changed tegra_irq_to_wake API to return multiple wake table indices

bug 1286802

Change-Id: I72e6d83cb71de76e23ea9623b6fcae34091171bb
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/231921
(cherry picked from commit b96d7c7db56bb49cd4f81190e25cf55b58794ab7)
Reviewed-on: http://git-master/r/241037
(cherry picked from commit 0e715b8054e22764e76c4f746287ba1c7c166501)
Reviewed-on: http://git-master/r/247134
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/irq.c
arch/arm/mach-tegra/pm-irq.h
arch/arm/mach-tegra/wakeups-t11x.c
arch/arm/mach-tegra/wakeups-t14x.c
arch/arm/mach-tegra/wakeups-t2.c
arch/arm/mach-tegra/wakeups-t3.c