From: Maarten ter Huurne Date: Fri, 30 Mar 2012 14:18:57 +0000 (+0200) Subject: MIPS: JZ4740: reset: Initialize hibernate wakeup counters. X-Git-Tag: v3.6-rc1~49^2^6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea3952e01c47ac76d71857099cbfc2f487f507d2;p=pandora-kernel.git MIPS: JZ4740: reset: Initialize hibernate wakeup counters. In hibernation mode only the wakeup logic and the RTC are left running, so this is what users perceive as power down. If the counters are not initialized, the corresponding pin (typically connected to the power button) has to be asserted for two seconds before the device wakes up. Most users expect a shorter wakeup time. I took the timing values of 100 ms and 60 ms from BouKiCHi's patch for the Dingoo A320 kernel. Signed-off-by: Maarten ter Huurne Cc: Sergei Shtylyov Cc: Lars-Peter Clausen Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3563/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed