Skip to content
Commit 12c583d8 authored by Shubhrajyoti D's avatar Shubhrajyoti D Committed by Wim Van Sebroeck
Browse files

watchdog: omap_wdt.c: Fix the mismatch of pm_runtime enable and disable



Currently the watchdog driver calls the pm_runtime_enable and never
the disable. This may cause a warning when pm_runtime_enable
checks for the count match.

Also fixes the error

/build/watchdog # insmod omap_wdt.ko
[   44.999389] omap_wdt omap_wdt: Unbalanced pm_runtime_enable!
[   45.011047] OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
/build/watchdog #

Attempting to fix the same by calling pm_runtime_disable.

Signed-off-by: default avatarShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 52ea9a7d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment