Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by mikaelh - 2006-02-12
Last edited by mikaelh - 2006-02-19

FS#3015 - fix shutdown on ipod nano

The ipod nano currently busyspins in shutdown_hw()
because it has this code;

  while(ata_disk_is_active())
      sleep(HZ/10);

ata.c returns !sleeping for that function, but sleeping
is never set to true for the nano. This patch simply
always returns 0 in ata_disk_is_active() for ipod nano,
reducing shutdown from 8 seconds (which is the timeout
set in sys_poweroff()) to about 1 second.

Closed by  mikaelh
2006-02-19 21:23
Reason for closing:  Accepted
Additional comments about closing:  

Logged In: YES
user_id=686463

committed by preglow

committed by preglow

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing