mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Gigabeat S/i.MX31: Take care of an interrupt priority inversion that can happen during PCM callback lockout when DVFS switches frequecies during the lockout, preventing a thread from unlocking the callback until DVFS finishes, causing an SSI FIFO underrun. Hadn't thought of an acceptable way to deal with it before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28996 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2093bb021f
commit
9d97ee1b54
6 changed files with 63 additions and 14 deletions
|
|
@ -85,3 +85,8 @@ void tick_stop(void)
|
|||
ccm_module_clock_gating(CG_EPIT1, CGM_OFF); /* Turn off module clock */
|
||||
}
|
||||
|
||||
|
||||
void kernel_audio_locking(bool locking)
|
||||
{
|
||||
dvfs_int_mask(locking);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue