Re: [PATCH] counter: 104-quad-8: Fix skipped IRQ lines during events configuration

From: William Breathitt Gray
Date: Thu Aug 25 2022 - 10:26:48 EST


On Mon, Aug 15, 2022 at 08:23:01AM -0400, William Breathitt Gray wrote:
> IRQ trigger configuration is skipped if it has already been set before;
> however, the IRQ line still needs to be OR'd to irq_enabled because
> irq_enabled is reset for every events_configure call. This patch moves
> the irq_enabled OR operation update to before the irq_trigger check so
> that IRQ line enablement is not skipped.
>
> Fixes: c95cc0d95702 ("counter: 104-quad-8: Fix persistent enabled events bug")
> Signed-off-by: William Breathitt Gray <william.gray@xxxxxxxxxx>

Applied to counter-greg branch.

William Breathitt Gray

Attachment: signature.asc
Description: PGP signature