watchdog: sama5d4: Add comment explaining what happens on resume
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 2 Mar 2017 17:31:14 +0000 (18:31 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 5 Jun 2017 15:58:39 +0000 (17:58 +0200)
commit5dca80f63eaf18eca2ba3ebf61056feb66103951
tree16db4823e3947149978ea255f65e5d9761fd006a
parent39bd56df7b2dae80d4099c64ad776775a3876ed5
watchdog: sama5d4: Add comment explaining what happens on resume

Because suspending to RAM may lose the register values, they are restored
on resume. This is currently done unconditionally because there is
currently no way to know (from the driver) whether they have really been
lost or are still valid. Writing MR also pings the watchdog and this may
not be what is expected so add a comment explaining why it happens.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sama5d4_wdt.c