watchdog: ts72xx_wdt: locking bug in ioctl
authorDan Carpenter <[email protected]>
Fri, 23 Aug 2013 08:40:59 +0000 (11:40 +0300)
committerWim Van Sebroeck <[email protected]>
Sun, 13 Oct 2013 18:01:50 +0000 (20:01 +0200)
commit8612ed0d97abcf1c016d34755b7cf2060de71963
treeba08f8831713c10a9f9c63214185063ef294c967
parent9d05746e7b16d8565dddbe3200faa1e669d23bbf
watchdog: ts72xx_wdt: locking bug in ioctl

Calling the WDIOC_GETSTATUS & WDIOC_GETBOOTSTATUS and twice will cause a
interruptible deadlock.

Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
drivers/watchdog/ts72xx_wdt.c