diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2022-02-25 18:53:15 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2022-05-08 10:34:01 +0200 |
commit | 95abafe76297fa057de6c3486ef844bd446bdf18 (patch) | |
tree | 34b710de5a043b95c412ea87def4eb174e355f9d /drivers/watchdog/tegra_wdt.c | |
parent | watchdog: rzg2l_wdt: Fix 32bit overflow issue (diff) | |
download | linux-95abafe76297fa057de6c3486ef844bd446bdf18.tar.xz linux-95abafe76297fa057de6c3486ef844bd446bdf18.zip |
watchdog: rzg2l_wdt: Fix Runtime PM usage
Both rzg2l_wdt_probe() and rzg2l_wdt_start() calls pm_runtime_get() which
results in a usage counter imbalance. This patch fixes this issue by
removing pm_runtime_get() call from probe.
Fixes: 2cbc5cd0b55fa2 ("watchdog: Add Watchdog Timer driver for RZ/G2L")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220225175320.11041-3-biju.das.jz@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/tegra_wdt.c')
0 files changed, 0 insertions, 0 deletions