diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-09-26 01:34:56 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2024-09-26 01:34:56 -0400 |
commit | f55cb77f899d3b2088abdca91c62cdfecddd4250 (patch) | |
tree | 8956900c70985a7020ab177eccf7e0977fe23eb4 /firmware/target/hosted/samsungypr | |
parent | e6313e4b8ebd6314fe45c52c35ee8a12e409219b (diff) | |
download | rockbox-f55cb77f899d3b2088abdca91c62cdfecddd4250.tar.gz rockbox-f55cb77f899d3b2088abdca91c62cdfecddd4250.zip |
[Bugfix] FS#13492 - Playback resume fails after USB insert
On usb plug system_flush() gets called before the other
threads get a chance to ACK the insert
system_flush() calls playlist_shutdown() (amongst other things)
playlist_shutdown closes the control file
the audio thread acks USB insert
audio_stop_playback is called which now can't look up the
filename from the now closed handle for control the control file
I left the guard for checking for USB insert but it appears to be
fine without it
Change-Id: I935dbf7aed38d4a57413c0063ad953f427e9b3bb
Diffstat (limited to 'firmware/target/hosted/samsungypr')
0 files changed, 0 insertions, 0 deletions