]> git.baikalelectronics.ru Git - kernel.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)
commitf87b41d442f8e7ac55f057bb7ad04d01116db0f2
tree3d99bcc3e01bb83a72b02e9885ab80c40f8eb9fc
parent3c0c3a3f8d1aed03df21a303df75ac047fde633f
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