Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
287b5050
Commit
287b5050
authored
Sep 30, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add LDM suspend/resume support to SA1100 suspend code.
parent
18db28ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
arch/arm/mach-sa1100/pm.c
arch/arm/mach-sa1100/pm.c
+19
-1
No files found.
arch/arm/mach-sa1100/pm.c
View file @
287b5050
...
...
@@ -193,11 +193,29 @@ static int sysctl_pm_do_suspend(void)
{
int
retval
;
/*
* Suspend "legacy" devices.
*/
retval
=
pm_send_all
(
PM_SUSPEND
,
(
void
*
)
3
);
if
(
retval
==
0
)
{
/*
* Suspend LDM devices.
*/
device_suspend
(
4
,
SUSPEND_NOTIFY
);
device_suspend
(
4
,
SUSPEND_SAVE_STATE
);
device_suspend
(
4
,
SUSPEND_DISABLE
);
retval
=
pm_do_suspend
();
/*
* Resume LDM devices.
*/
device_resume
(
RESUME_RESTORE_STATE
);
device_resume
(
RESUME_ENABLE
);
/*
* Resume "legacy" devices.
*/
pm_send_all
(
PM_RESUME
,
(
void
*
)
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment