watchdog: sbc_fitpc2_wdt: fixed "scheduling while atomic" bug.
authorDenis Turischev <denis@compulab.co.il>
Thu, 22 Apr 2010 16:54:20 +0000 (19:54 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 26 Apr 2010 18:22:30 +0000 (18:22 +0000)
commit322af98c56c70b3ec6f637fb07d41a9591a6ff9a
tree45ad10b5731f76fffc6cc7c94af254340ff29409
parentfcf1dd7e68ceb6420478c8d89d35b4745d0b2f42
watchdog: sbc_fitpc2_wdt: fixed "scheduling while atomic" bug.

spinlock need to be replaced by mutex because of sleep functions
inside wdt_send_data.

Signed-off-by: Denis Turischev <denis@compulab.co.il>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sbc_fitpc2_wdt.c