watchdog: ts72xx_wdt: locking bug in ioctl
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Aug 2013 08:40:59 +0000 (11:40 +0300)
committerWim Van Sebroeck <wim@iguana.be>
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 <dan.carpenter@oracle.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ts72xx_wdt.c