Skip to content
Commit 7b8f9610 authored by Vignesh Raghavendra's avatar Vignesh Raghavendra Committed by Xulin Sun
Browse files

watchdog: rti_wdt: Drop RPM watchdog when unused

commit 8f84962abb073207d36c023ec290bdd4d8a0f4c0 from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



Do a RPM put if watchdog is not already started during probe and re
enable it in watchdog start.

On K3 SoCs, watchdogs and their corresponding CPUs are under same PD, so
if the reference count of unused watchdogs aren't dropped, it will lead
to CPU hotplug failures as Device Management firmware won't allow to
turn off the PD due to dangling reference count.

Fixes: 2d63908b ("watchdog: Add K3 RTI watchdog support")
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent fd31a099
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment