1
0
Fork 0
forked from len0rd/rockbox

Coldfire: Optimize emac context save/restore in mixer ISR.

Save only once if emac is used in ISR and restore only once per ISR
call if already saved.

Change-Id: I0e40db5d4aab2a8552480f76873f59ff6ccd9977
Reviewed-on: http://gerrit.rockbox.org/176
Tested-by: Michael Sevakis <jethead71@rockbox.org>
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
This commit is contained in:
Michael Sevakis 2012-03-09 21:00:49 -05:00
parent d2aafd19e4
commit 64bb720edf
3 changed files with 39 additions and 24 deletions

View file

@ -232,6 +232,9 @@ fill_frame:
*downmix_buf[downmix_index] = downmix_index ? 0x7fff7fff : 0x80008000;
#endif
/* Certain SoC's have to do cleanup */
mixer_buffer_callback_exit();
return PCM_DMAST_OK;
}