Re: [PATCH v3 02/12] rtc: rzn1: Handle EPROBE_DEFER for optional pps interrupt

Wolfram Sang <[email protected]>
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rtc,org.kernel.vger.stable
Message-ID <aoQNLEIqQ7ANpxId@ninjato>
On Mon, Jul 06, 2026 at 06:51:28PM +0100, Prabhakar wrote:
> From: Lad Prabhakar <[email protected]>
> 
> Check for -EPROBE_DEFER from platform_get_irq_byname_optional() and handle
> the deferred probe request properly.
> 
> Although the "pps" interrupt is optional, an error code of -EPROBE_DEFER
> indicates that the interrupt subsystem is not yet ready. Intercept this
> specific error condition, assign it to the return value, and jump to the
> dis_runtime_pm label to avoid ignoring a valid probe deferral.
> 
> Fixes: eea7791e00f33 ("rtc: rzn1: implement one-second accuracy for alarms")
> Cc: [email protected]
> Signed-off-by: Lad Prabhakar <[email protected]>

Reviewed-by: Wolfram Sang <[email protected]>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmqEDSwACgkQFA3kzBSg
KbaBEg//bAjQwgWY6CSjsZry7NlQ4BAlLXIQqIbV6wzZEyqCpVi/E4C3BaYPS+P1
4ZqhEHxcbMzvzEiM3PddhRsEa3ho5iHEehdHK+qJCnnOKf3lGVOjo+1xt/humngD
xEAh5fUzIkpEl8zUV6+z0LDrWLRE4px45UXaib0HCa9wfPEBa2dP1O/52keX26oB
nnZeLg9WvfdWfdIgvVHvNgVL+iusbCLQBQmgQljjAHTYoUjLHmdCHwFOSYQ2FENo
neCkvm468iF/BY1Ustej9OKEYmLfBRU6GAJV0t7Gptb6zTVawu9A7znwWI7jOUsE
XuKrCUN3oJAeefqGT9yiiG9k3NK2K0C1kAEC96QYuz7gk09LWnCg2vZlLDWWOHKN
FSbD+NW3IbzL75WKzNQ+gFbTwEEPiiAXqQGGhit/kzly/TP3lwq0pG3WV+5CEr/X
FBf76GMeWdXJKQNEguGb47hTm8WG6Kgqj5o+cCNY+W3M6704KqU8XQr25Ol0NkCU
0HJy3SMAJyxfXaoZsI6wDyhZVWpXq7mNcPvYRjNhJTRdf34CGmpgPL/DdJAzSr9i
JvdT27/7eZesj6hnE+uxh6o2i7vpvssN6ryZe6ESzIEC/JRBq+r09l6MXBwtaEZq
dqHIDVVp/v5wYJhH1mNTiWKBt3qJ/4DYIV+3SLraomqnGBLi/Yw=
=ZcXu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.