From: <z7...@us...> - 2007-03-28 18:32:06
|
Revision: 943 http://svn.sourceforge.net/hackndev/?rev=943&view=rev Author: z72ka Date: 2007-03-28 11:32:04 -0700 (Wed, 28 Mar 2007) Log Message: ----------- palmtx: finalize suspend and resume - added powering off/on LCD and BL, USB 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-03-28 18:29:58 UTC (rev 942) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx_pm.c 2007-03-28 18:32:04 UTC (rev 943) @@ -49,11 +49,11 @@ {} /* Turn off LCD power */ - //SET_PALMZ72_GPIO(LCD_POWER,0); + SET_PALMTX_GPIO(LCD_POWER,0); /* Turn screen off */ - //SET_PALMZ72_GPIO(SCREEN,0); + SET_PALMTX_GPIO(BL_POWER,0); /* Turn off USB power */ - //SET_PALMZ72_GPIO(USB_POWER,0); + SET_PALMTX_GPIO(USB_POWER,0); /* disable GPIO reset - DO NOT REMOVE! */ @@ -75,11 +75,11 @@ /* Here are all of special to resume Palm TX */ /* Turn on LCD power */ - //SET_PALMZ72_GPIO(LCD_POWER,1); + SET_PALMTX_GPIO(LCD_POWER,1); /* Turn screen on */ - //SET_PALMZ72_GPIO(SCREEN,1); + SET_PALMTX_GPIO(BL_POWER,1); /* Turn on USB power */ - //SET_PALMZ72_GPIO(USB_POWER,1); + SET_PALMTX_GPIO(USB_POWER,1); return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |