summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-03-12 09:37:36 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-03-12 10:04:52 -0500
commit2743bde09b970e44af1c55a0750790146697e28a (patch)
treeb6335031d965d1971c118fb39e8c7f10172dc0f9 /manual
parent04c29984cecd4e971f7d60226b96b83872488849 (diff)
downloadrockbox-2743bde09b970e44af1c55a0750790146697e28a.tar.gz
rockbox-2743bde09b970e44af1c55a0750790146697e28a.zip
ATA: Increase delay to power-off when device doesn't support ATA SLEEP
The storage subsystem aggressively issues SLEEPNOW events when idle and power off happened a fixed 2s later. This turns out to not be enough time for FC1307A (eg iFlash) adapters to flush outstanding writes. So, when we detect a lack of PM support, increase the poweroff delay to 5 seconds to compensate for not being able to issue the ATA SLEEP command. Hopefully this is enough time. If not, we will have to re-disable PM entirely when we detect these popular adapters. Thankfully that is now just an #ifdef away. Change-Id: I4112b9acb965973d81f70483bd9d595461c7301c
Diffstat (limited to 'manual')
0 files changed, 0 insertions, 0 deletions