Closed
Bug 880162
Opened 11 years ago
Closed 11 years ago
FM radio callbacks FM_RADIO_OPERATION_ENABLE when trying to disable it
Categories
(Firefox OS Graveyard :: Hardware, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: slee, Assigned: slee)
References
Details
Attachments
(1 file, 1 obsolete file)
1.32 KB,
patch
|
slee
:
review+
|
Details | Diff | Splinter Review |
It shouldn't callback FM_RADIO_OPERATION_ENABLE when disabling FM radio.
Assignee | ||
Comment 1•11 years ago
|
||
Hi Justin, Could you please review my patch when you have time? If you are too busy to review, please tell me. Thanks
Attachment #759602 -
Flags: review?(justin.lebar+bug)
Comment 2•11 years ago
|
||
>+ // The driver callback TAVARUA_EVT_RADIO_READY when we turn on and turn off it.
I'm not sure, but maybe you mean
Don't send an update about an enabled FM radio if we're in the process of disabling the radio. (The driver sends TAVAURA_EVT_RADIO_READY when we quickly turn the radio on and then off.)
?
Comment 3•11 years ago
|
||
Comment on attachment 759602 [details] [diff] [review] patch - v2 r=me with the comment sorted out.
Attachment #759602 -
Flags: review?(justin.lebar+bug) → review+
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Justin Lebar [:jlebar] from comment #2) > I'm not sure, but maybe you mean > > Don't send an update about an enabled FM radio if we're in the process of > disabling the radio. (The driver sends TAVAURA_EVT_RADIO_READY when we > quickly turn the radio on and then off.) > Hi Justin, I meant TAVAURA_EVT_RADIO_READY will always be sent when we turn off the FM radio so that we need to check additional flags.
Comment 5•11 years ago
|
||
Oh, I see. That's pretty weird! If your comment said something like // The driver sends RADIO_READY both when we turn the radio on and when we turn the radio off. that would be clearer to me.
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #759602 -
Attachment is obsolete: true
Attachment #760764 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/b3dfd511e52b Can we get a test for this?
Flags: in-testsuite?
Keywords: checkin-needed
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b3dfd511e52b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•