diff options
author | Cástor Muñoz <cmvidal@gmail.com> | 2016-07-31 04:22:03 +0200 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2018-07-30 17:54:51 -0400 |
commit | 8f38f85fbde2ae78ba50cf9b9f54fbf9d25b4a45 (patch) | |
tree | c77f8d200851bacd94fd01a4b54a13578cb50a24 /manual | |
parent | 210881ca35df0f05a11c2cf88cd73ddab18cff1d (diff) | |
download | rockbox-8f38f85fbde2ae78ba50cf9b9f54fbf9d25b4a45.tar.gz rockbox-8f38f85fbde2ae78ba50cf9b9f54fbf9d25b4a45.zip |
Workaround for usb_storage_init_connection() panic
For s5l8701, s5l8702 and as3525v2 targets.
The crash occurs when USB is inserted or extracted while the playlist
is being loaded or updated (it could take a few seconds for huge
playlists), at this point all buflib memory is allocated and not freed
before usb_starage_init_connection() is executed.
This workaround mitigates this panic by using static memory for USB
buffers, so this memory cannot be used for other tasks, in addition
the problem still persist when playlist load is 'paused' by USB
insertion and then updated after USB extraction.
Change-Id: Iff1db5a949361fd543e0b494924d1f2906c84b5e
Diffstat (limited to 'manual')
0 files changed, 0 insertions, 0 deletions