aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-07-26 10:56:12 +0200
committerWim Van Sebroeck <[email protected]>2022-10-02 12:55:40 +0200
commit8007935305610d577746b888bd1864b34fb0ea13 (patch)
tree954de8af35067d93b35012ab1cf20231c6c9d5f2 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent74b31987e281e31d7bd4184c027d57543e9e0392 (diff)
watchdog: armada_37xx_wdt: Fix .set_timeout callback
ioctl(WDIOC_SETTIMEOUT) calls .set_timeout and .ping callbacks and it is expected that it changes current watchdog timeout. armada_37xx_wdt's .ping callback just reping counter 0 and does not touch counter 1 used for timeout. So it is needed to set counter 1 to the new value in .set_timeout callback to ensure ioctl(WDIOC_SETTIMEOUT) functionality. Fix it. Fixes: 54e3d9b518c8 ("watchdog: Add support for Armada 37xx CPU watchdog") Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Marek Behún <[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