Revision: 1280
http://hackndev.svn.sourceforge.net/hackndev/?rev=1280&view=rev
Author: marex_z71
Date: 2007-08-26 16:32:23 -0700 (Sun, 26 Aug 2007)
Log Message:
-----------
PalmTX: cleanup, dont use lines longer than 80 characters no matter what
Modified Paths:
--------------
linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx_pm.c
Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx_pm.c
===================================================================
--- linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx_pm.c 2007-08-26 10:17:16 UTC (rev 1279)
+++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx_pm.c 2007-08-26 23:32:23 UTC (rev 1280)
@@ -49,9 +49,10 @@
/* Turn off USB power */
SET_PALMTX_GPIO(USB_POWER,0);
-
- /* disable GPIO reset - DO NOT REMOVE!!!!!!!! Palm totally hangs on reset without disabling GPIO reset during sleep */
+ /* disable GPIO reset - DO NOT REMOVE !!!!!!!!
+ Palm totally hangs on reset without disabling
+ GPIO reset during sleep */
PCFR = PCFR_GPROD;
return 0;
@@ -59,16 +60,15 @@
static int palmtx_resume(struct device *dev)
{
-
/* Disabled Deep-Sleep mode */
PCFR &= PCFR_DS;
- /* Re-enable GPIO reset */
- PCFR |= PCFR_GPR_EN; /* !! DO NOT REMOVE !! THIS IS NECCESARY FOR ENABLE PALM RESET !! */
+ /* Re-enable GPIO reset
+ !! DO NOT REMOVE !!
+ !! THIS IS NECCESARY TO ENABLE PALM RESET !! */
+ PCFR |= PCFR_GPR_EN;
-
- /* Here are all of special to resume Palm TX */
-
+ /* Below is all the special stuff to resume Palm TX */
/* Turn on USB power */
SET_PALMTX_GPIO(USB_POWER,1);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|