commit | eadc4fe17d04723373ada219d382b3b413b21dad | [log] [tgz] |
---|---|---|
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | Mon Sep 12 12:53:49 2016 +0530 |
committer | Wim Van Sebroeck <wim@iguana.be> | Sat Sep 24 08:49:41 2016 +0200 |
tree | 18918db353efb3a565a8bffe188c657513998f1b | |
parent | bfb1f46f69060642d54125cb777c817f3f9436e3 [diff] |
watchdog: cadence_wdt: Fix the suspend resume Currently even if no users are there the suspend tries to stop the watchdog and resume starts it. so after resume the watchdog starts and resets the board. Fix the same by adding a check for users. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>