]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
power/reset: xgene: Use mdelay instead of jiffies based timeout
authorGuenter Roeck <linux@roeck-us.net>
Tue, 30 Sep 2014 17:48:31 +0000 (10:48 -0700)
committerSebastian Reichel <sre@kernel.org>
Mon, 17 Nov 2014 02:07:09 +0000 (03:07 +0100)
commit745e19764a0cff55a55010cfabe7e9ff77fa72a5
tree3d99bcc3e01bb83a72b02e9885ab80c40f8eb9fc
parent43160718d95db9e2336cd787fa8fcad39660b883
power/reset: xgene: Use mdelay instead of jiffies based timeout

jiffies are not running at this stage of system shutdown, meaning an
error in the reset function would never be reported. Replace with mdelay().

Cc: Loc Ho <lho@apm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/power/reset/xgene-reboot.c