diff mbox series

[v2,2/5] genirq: Export irq_chip_set_wake_parent()

Message ID 20181129170312.23625-3-thierry.reding@gmail.com
State Deferred
Headers show
Series Implement wake event support on Tegra186 and later | expand

Commit Message

Thierry Reding Nov. 29, 2018, 5:03 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Interrupt controllers in a hierarchy want to use this function to
propogate ->irq_set_wake() operations to their parent domains.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 kernel/irq/chip.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij Dec. 5, 2018, 9:31 p.m. UTC | #1
On Thu, Nov 29, 2018 at 6:03 PM Thierry Reding <thierry.reding@gmail.com> wrote:

> From: Thierry Reding <treding@nvidia.com>
>
> Interrupt controllers in a hierarchy want to use this function to
> propogate ->irq_set_wake() operations to their parent domains.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>

Tglx/Marc: is this change OK? (ACK?)

Yours,
Linus Walleij
Marc Zyngier Dec. 6, 2018, 1:55 p.m. UTC | #2
On 05/12/2018 21:31, Linus Walleij wrote:
> On Thu, Nov 29, 2018 at 6:03 PM Thierry Reding <thierry.reding@gmail.com> wrote:
> 
>> From: Thierry Reding <treding@nvidia.com>
>>
>> Interrupt controllers in a hierarchy want to use this function to
>> propogate ->irq_set_wake() operations to their parent domains.
>>
>> Signed-off-by: Thierry Reding <treding@nvidia.com>
> 
> Tglx/Marc: is this change OK? (ACK?)

It looks OK to me, as it is consistent with irq_chip_set_type_parent,
among others.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>

	M.
Thomas Gleixner Dec. 6, 2018, 11:12 p.m. UTC | #3
On Thu, 6 Dec 2018, Marc Zyngier wrote:

> On 05/12/2018 21:31, Linus Walleij wrote:
> > On Thu, Nov 29, 2018 at 6:03 PM Thierry Reding <thierry.reding@gmail.com> wrote:
> > 
> >> From: Thierry Reding <treding@nvidia.com>
> >>
> >> Interrupt controllers in a hierarchy want to use this function to
> >> propogate ->irq_set_wake() operations to their parent domains.
> >>
> >> Signed-off-by: Thierry Reding <treding@nvidia.com>
> > 
> > Tglx/Marc: is this change OK? (ACK?)
> 
> It looks OK to me, as it is consistent with irq_chip_set_type_parent,
> among others.
> 
> Acked-by: Marc Zyngier <marc.zyngier@arm.com>

No objections either:

Acked-by: Thomas Gleixner <tglx@linutronix.de>
diff mbox series

Patch

diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index a2b3d9de999c..b3aea5282243 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -1381,6 +1381,7 @@  int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on)
 
 	return -ENOSYS;
 }
+EXPORT_SYMBOL_GPL(irq_chip_set_wake_parent);
 #endif
 
 /**