diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-01 09:39:08 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-01 09:39:08 +0000 |
commit | dc32a5b14ccad55ce1f1848a16d5605b9019ae87 (patch) | |
tree | ea4d735549d3e85f1ed76bf1713c79f79730c790 /apps/metadata.c | |
parent | 9b935b2888738ed7228ac75863b0d0ac195629cc (diff) |
as3525 PCM: implement locking like done for the gigabeats in r26341
this removes workaround for spurious interrupts added in r26316
side effect: make keyclicks work correctly when used intensively (with
the scrollwheel for example), the clicks should be inserted fast enough
for the PCM fifo to not become empty.
PL190 can cause spurious interrupts if an interrupt is triggered by a
peripheral shortly before the interrupt for this peripheral is cleared
from VIC registers.
As an effect we should only write in VIC_INT_EN_CLEAR after having
disabled the source of the interrupt in the peripheral.
references on PL190 spurious interrupts:
- http://www.embeddedrelated.com/groups/lpc2000/show/14599.php
- http://water.cse.unsw.edu.au/esdk/lpc2/spurious-irq.html
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26444 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.c')
0 files changed, 0 insertions, 0 deletions