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:Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Xulin Sun <xulin.sun@windriver.com>
Loading
Please register or sign in to comment