Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
a29e6ebf
Commit
a29e6ebf
authored
Jul 01, 2005
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Sync pm.c dyntick call with mainline
Sync pm.c dyntick call with mainline
parent
6ca21f2a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
arch/arm/mach-omap/pm.c
arch/arm/mach-omap/pm.c
+7
-4
No files found.
arch/arm/mach-omap/pm.c
View file @
a29e6ebf
...
...
@@ -90,10 +90,6 @@ void omap_pm_idle(void)
}
mask32
=
omap_readl
(
ARM_SYSST
);
#if defined(CONFIG_OMAP_32K_TIMER) && defined(CONFIG_NO_IDLE_HZ)
timer_dyn_reprogram
();
#endif
/*
* Prevent the ULPD from entering low power state by setting
* POWER_CTRL_REG:4 = 0
...
...
@@ -101,6 +97,13 @@ void omap_pm_idle(void)
omap_writew
(
omap_readw
(
ULPD_POWER_CTRL
)
&
~
ULPD_DEEP_SLEEP_TRANSITION_EN
,
ULPD_POWER_CTRL
);
/*
* Since an interrupt may set up a timer, we don't want to
* reprogram the hardware timer with interrupts enabled.
* Re-enable interrupts only after returning from idle.
*/
timer_dyn_reprogram
();
if
((
mask32
&
DSP_IDLE
)
==
0
)
{
__asm__
volatile
(
"mcr p15, 0, r0, c7, c0, 4"
);
}
else
...
...
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