RE: [PATCH 1/4] watchdog: sama5d4: fix WDDIS handling

2017-03-06 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月3日 1:31 > To: Guenter Roeck > Cc: Wim Van Sebroeck ; Nicolas Ferre - M43238 > ; Wenyou Yang - A41535 > ; linux-watch...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; li

Re: [PATCH 1/4] watchdog: sama5d4: fix WDDIS handling

2017-03-04 Thread Guenter Roeck
On 03/02/2017 09:31 AM, Alexandre Belloni wrote: The datasheet states: "When setting the WDDIS bit, and while it is set, the fields WDV and WDD must not be modified." Because the whole configuration is already cached inside .mr, wait for the user to enable the watchdog to configure it so it is e