commit | 54e2dc9341aca23d5241699e3b74c8dce609fa2d | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Tue May 22 11:40:27 2012 +0200 |
committer | Wim Van Sebroeck <wim@iguana.be> | Wed May 30 07:55:46 2012 +0200 |
tree | 0a7ae888e38c2233b957bc0476d81bee7cc3e148 | |
parent | 85a2e40cb5053574cd3b1f33c00194309ce3704c [diff] |
watchdog: sch56xx-common: Add proper ref-counting of watchdog data This fixes referencing free-ed memory in the corner case where /dev/watchdog is open when the platform driver gets unbound from the platform device. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>