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
f3b30252
Commit
f3b30252
authored
Sep 05, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Don't sleep in cpufreq code if IRQs are disabled (during resume.)
parent
3a5dccf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
arch/arm/mach-sa1100/cpu-sa1110.c
arch/arm/mach-sa1100/cpu-sa1110.c
+6
-2
No files found.
arch/arm/mach-sa1100/cpu-sa1110.c
View file @
f3b30252
...
...
@@ -270,8 +270,12 @@ static int sa1110_target(struct cpufreq_policy *policy,
* We wait 20ms to be safe.
*/
sdram_set_refresh
(
2
);
set_current_state
(
TASK_UNINTERRUPTIBLE
);
schedule_timeout
(
20
*
HZ
/
1000
);
if
(
!
irqs_disabled
())
{
set_current_state
(
TASK_UNINTERRUPTIBLE
);
schedule_timeout
(
20
*
HZ
/
1000
);
}
else
{
mdelay
(
20
);
}
/*
* Reprogram the DRAM timings with interrupts disabled, and
...
...
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