From f00afd5d8d5dc03994cb67246543d5c70571ebbe Mon Sep 17 00:00:00 2001 From: Lad Prabhakar Date: Thu, 1 Oct 2026 17:51:58 +0100 Subject: [PATCH] watchdog: rzv2h: Drop runtime PM handling from WDTDCR init WDTDCR is located in the CPG region, outside the watchdog module, and is accessible regardless of the watchdog's clocks and reset state. Drop the unnecessary runtime PM handling from WDTDCR initialization and access the register directly. Fixes: f6febd0a30b6e ("watchdog: Add Watchdog Timer driver for RZ/V2H(P)") Cc: stable@vger.kernel.org Signed-off-by: Lad Prabhakar Link: https://patch.msgid.link/20261001165201.763882-5-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Guenter Roeck --- drivers/watchdog/rzv2h_wdt.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/watchdog/rzv2h_wdt.c b/drivers/watchdog/rzv2h_wdt.c index 27ea0ad7e91c..c1c01ee7432c 100644 --- a/drivers/watchdog/rzv2h_wdt.c +++ b/drivers/watchdog/rzv2h_wdt.c @@ -257,20 +257,12 @@ static const struct watchdog_ops rzv2h_wdt_ops = { static int rzt2h_wdt_wdtdcr_init(struct platform_device *pdev, struct rzv2h_wdt_priv *priv) { - int ret; - priv->wdtdcr = devm_platform_ioremap_resource(pdev, 1); if (IS_ERR(priv->wdtdcr)) return PTR_ERR(priv->wdtdcr); - ret = pm_runtime_resume_and_get(&pdev->dev); - if (ret) - return ret; - rzt2h_wdt_wdtdcr_count_stop(priv); - pm_runtime_put_sync(&pdev->dev); - return 0; }