Skip to content
Snippets Groups Projects
Commit fa82e9c3 authored by Bernhard Kohl's avatar Bernhard Kohl Committed by Blue Swirl
Browse files

wdt_i6300esb: register a reset function


The device shall set its default hardware state after each reset.
This includes that the timer is stopped which is especially important
if the guest does a reboot independantly of a watchdog bite. I moved
the initialization of the state variables completely from the init
to the reset function which is called right after init during the
first boot and afterwards during each reboot.

Signed-off-by: default avatarBernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 74782223
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment