Thread (6 messages) 6 messages, 3 authors, 2024-12-18

Re: [PATCH v2] watchdog: stm32_iwdg: fix error message during driver probe

From: Marek Vasut <marex@denx.de>
Date: 2024-12-12 11:31:42
Also in: linux-watchdog, lkml

On 12/12/24 11:20 AM, Clément Le Goffic wrote:
The commit 3ab1663af6c1 ("watchdog: stm32_iwdg: Add pretimeout support")
introduces the support for the pre-timeout interrupt.

The support for this interrupt is optional but the driver uses the
platform_get_irq() wich produces an error message during the driver
probe if we don't have any `interrupts` property in the DT.

Use the platform_get_irq_optional() API to get rid of the error message
as this property is optional.

Fixes: 3ab1663af6c1 ("watchdog: stm32_iwdg: Add pretimeout support")
Signed-off-by: Clément Le Goffic <redacted>
Reviewed-by: Marek Vasut <marex@denx.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help