]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: rti-wdt: balance pm runtime enable calls
authorTero Kristo <t-kristo@ti.com>
Fri, 17 Jul 2020 13:29:58 +0000 (16:29 +0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 5 Aug 2020 16:43:03 +0000 (18:43 +0200)
commit9e33d9a33defa798c55f08c559c4be046c7a9fbe
tree59d2db16b0a3330afc70bcd3a6e16adb39ae75ea
parentc5ac4e531e074c55ea724e1db14c0fb37d2ff88f
watchdog: rti-wdt: balance pm runtime enable calls

PM runtime should be disabled in the fail path of probe and when
the driver is removed.

Fixes: be9b53f3a39b ("watchdog: Add K3 RTI watchdog support")
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200717132958.14304-5-t-kristo@ti.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/rti_wdt.c