Rockbox

Tasklist

FS#12520 - iPod Classic/6G: holdswitch PMU polling crashes

Attached to Project: Rockbox
Opened by Cástor Muñoz (prof_wolfff) - Sunday, 08 January 2012, 21:05 GMT
Last edited by MichaelGiacomelli (saratoga) - Wednesday, 11 April 2012, 01:59 GMT
Task Type Bugs
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There are some random crashes that usually occurs when the scrollwheel is used is WPS, moving PMU polling (for holdswitch status) from ISR to powermgmt thread seems to fix this problem for me.

i choose this approach as a first attempt because it is fast to implement and simple, maybe a better future solution is to make i2c functions IRQ safe, but it is not so trivial and may affect other functionality.
This task depends upon

View Dependency Graph

This task blocks these from closing
 FS#12521 - iPod Classic/6G: cpu freq scaling 
Closed by  MichaelGiacomelli (saratoga)
Wednesday, 11 April 2012, 01:59 GMT
Reason for closing:  Accepted
Comment by Albert Barca (axismundi) - Monday, 13 February 2012, 22:47 GMT
I've been using this for a few weeks, together with #12521 (and #12523). I get much fewer crashes, as a matter of fact they are almost non-existent. Looks like we have a winner. Once again a good job, thanks Castor!

Loading...