aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAndrĂ© Draszik <[email protected]>2018-01-12 09:44:53 +0000
committerWim Van Sebroeck <[email protected]>2018-01-21 12:44:58 +0100
commit392d39a863583eb6439e2ec543818250b57ef99d (patch)
tree9f645c1439d464b71ae6efee27cc7f3b055eb0c1 /net/unix/sysctl_net_unix.c
parent0be267255cef64e1c58475baa7b25568355a3816 (diff)
watchdog: mt7621: set WDOG_HW_RUNNING bit when appropriate
If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdog framework about this fact so that it can ping the watchdog until userspace opens the device and takes over control. Do so using the WDOG_HW_RUNNING flag that exists for exactly that use-case. Given the watchdog driver core doesn't know what timeout was originally set by whoever started the watchdog (boot loader), we make sure to update the timeout in the hardware according to what the watchdog core thinks it is. Signed-off-by: AndrĂ© Draszik <[email protected]> Cc: [email protected] Cc: John Crispin <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions