diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-31 13:46:55 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-06-28 07:42:16 (GMT) |
commit | 076bad7c4d2c51d9484f0ac60d68838139d2bf72 (patch) | |
tree | beb4449d91329fd552cc5f23a79f3a589476d29c /sound/i2c | |
parent | b0af8dfdd67699e25083478c63eedef2e72ebd85 (diff) | |
download | linux-076bad7c4d2c51d9484f0ac60d68838139d2bf72.tar.xz |
watchdog: Handle multiple wm831x watchdogs being registered
Due to the whole single instance based watchdog API we use static data
for the wm831x watchdog which means that if the system tries to register
a second one we end up trying to register the same miscdevice again,
corrupting the miscdevice list. Work around this by checking for duplicate
registrations until we get a watchdog core.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions