commit | 85a2e40cb5053574cd3b1f33c00194309ce3704c | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Tue May 22 11:40:25 2012 +0200 |
committer | Wim Van Sebroeck <wim@iguana.be> | Wed May 30 07:55:41 2012 +0200 |
tree | 760e63cb090ac1a8eff5a0daca2bfe47176f9fb6 | |
parent | fb551405c0f8e15d6fc7ae6e16a5e15382f8b8ac [diff] |
watchdog: sch56xx: Remove unnecessary checks for register changes Since the watchdog core keeps track of the watchdog's active state, start/stop will never get called when no changes are necessary. So we can remove the check for the output_enable register changing before writing it (which is an expensive operation). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>