Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1191177

Re: [PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled

From Matthias Brugger <matthias.bgg@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled
Date 2015-07-23 19:40 +0200
Message-ID <pPsDp-578-21@gated-at.bofh.it> (permalink)
References <pPhyh-60f-3@gated-at.bofh.it> <pPhyh-60f-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday, July 23, 2015 01:49:11 PM Eddie Huang wrote:
> From: Greta Zhang <greta.zhang@mediatek.com>
> 
> Without .shutdown(), watchdog might reset the system during power off.
> For example, if watchdog's timeout is set to 30s, then it is reset to
> zero by mtk_wdt_ping(). During power off, no app will ping watchdog,
> but watchdog is still running and may trigger reset.
> 
> Signed-off-by: Greta Zhang <greta.zhang@mediatek.com>
> Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
> ---
>  drivers/watchdog/mtk_wdt.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled Eddie Huang <eddie.huang@mediatek.com> - 2015-07-23 07:50 +0200
  Re: [PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled Matthias Brugger <matthias.bgg@gmail.com> - 2015-07-23 19:40 +0200

csiph-web