Re: [RESEND PATCH v5 4/5] irqchip/irq-pruss-intc: Implement irq_{get,set}_irqchip_state ops

From: Marc Zyngier
Date: Sat Sep 12 2020 - 05:49:38 EST


On Mon, 31 Aug 2020 16:09:17 +0100,
Grzegorz Jaszczyk <grzegorz.jaszczyk@xxxxxxxxxx> wrote:
>
> From: David Lechner <david@xxxxxxxxxxxxxx>
>
> This implements the irq_get_irqchip_state and irq_set_irqchip_state
> callbacks for the TI PRUSS INTC driver. The set callback can be used
> by drivers to "kick" a PRU by injecting a PRU system event.
>
> Example:
> irq_set_irqchip_state(irq, IRQCHIP_STATE_PENDING, true);
>

Please drop this "example", it brings nothing without the full
context. This patch just implements a standard callback.

Thanks,

M.

--
Without deviation from the norm, progress is not possible.