Messages in this thread | | | From | Jerome Brunet <> | Subject | Re: [PATCH v2] watchdog: meson: keep running if already active | Date | Tue, 06 Sep 2022 14:21:26 +0200 |
| |
On Mon 01 Aug 2022 at 11:21, Philippe Boos <pboos@baylibre.com> wrote:
> If the watchdog is already running (e.g.: started by bootloader) then > the kernel driver should keep the watchdog active but the amlogic driver > turns it off. > > Let the driver fix the clock rate if already active because we do not > know the previous timebase value. To avoid unintentional resetting we > temporarily set it to its maximum value. > > Then keep the enable bit if is was previously active. > > Signed-off-by: Philippe Boos <pboos@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
| |