diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2015-02-14 15:18:52 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2015-03-16 03:27:08 -0400 |
commit | 36480c259fd087c6c24f0046addf8d5c0380889a (patch) | |
tree | fef736be4ab1c2df33d15715badd6b5ff04c2285 /apps/playlist_viewer.c | |
parent | 98a69ec5009104088cdad3506836e2d042173f64 (diff) | |
download | rockbox-36480c259fd087c6c24f0046addf8d5c0380889a.tar.gz rockbox-36480c259fd087c6c24f0046addf8d5c0380889a.zip |
Fix a race condition in as3525 I2C driver caused by stacked ISRs.
It was possible for interrupts of higher priority than the current IRQ
level to attempt to restart the interface while it was still active on
a transfer. The list modification also wasn't protected within the I2C
ISR itself.
Change-Id: I70635c307a1443bba6801c588cf1efde299db9a4
Diffstat (limited to 'apps/playlist_viewer.c')
0 files changed, 0 insertions, 0 deletions