aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorPhilippe Boos <[email protected]>2022-08-01 11:21:50 +0200
committerWim Van Sebroeck <[email protected]>2022-10-02 12:55:41 +0200
commit6adbfbab0f039bb89edb9d3ad0d9ac8a18efa6db (patch)
tree1a130697eaeda47e8d87acc61bf7122ec9ccdabc /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentb24620608dc2b54cb9df511e3d2c789f99497538 (diff)
watchdog: meson: keep running if already active
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 <[email protected]> Reviewed-by: Jerome Brunet <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions