diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-07-18 11:54:01 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-07-18 11:54:01 +0000 |
commit | 17b8805b49e1f3c096b885982b6e81a6742f6662 (patch) | |
tree | f3bcd7af34873617081c86ed40ff5056852ada96 /firmware/target/arm/s5l8700/pcm-s5l8700.c | |
parent | 9be28179e467274e97b809bd45ca1ef34104a98d (diff) |
S5L8700: fix off-by-one error in kernel timer and fix incorrect interrupt mask in pcm driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/pcm-s5l8700.c')
-rw-r--r-- | firmware/target/arm/s5l8700/pcm-s5l8700.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8700/pcm-s5l8700.c b/firmware/target/arm/s5l8700/pcm-s5l8700.c index 38b581b80c..7a4bdeb174 100644 --- a/firmware/target/arm/s5l8700/pcm-s5l8700.c +++ b/firmware/target/arm/s5l8700/pcm-s5l8700.c @@ -75,7 +75,7 @@ void pcm_play_lock(void) void pcm_play_unlock(void) { if (--locked == 0) { - INTMSK |= ~(1 << 10); + INTMSK |= (1 << 10); } } |