Closed
Bug 911294
Opened 11 years ago
Closed 11 years ago
FM UI shows previously tuned frequency
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.2 FC (16sep)
People
(Reporter: vasanth, Assigned: vasanth)
References
Details
Attachments
(1 file, 1 obsolete file)
3.17 KB,
patch
|
pzhang
:
review+
mwu
:
review+
|
Details | Diff | Splinter Review |
This issue happens in latest devices which uses jb-gonk code base.
Reason is GonkFMRadio gets frequency immediately after setting frequency.
But radio-iris driver returns set frequency only after TUNE_SUCC event [1]
Attached fix listens to this event and get frequency after that
This issue doesn't happen with radio-tavarua driver (akami devices) but ideally we should listen to this event there as well
Also later I found that FM code is being re-written in C++ [2]. Let me know if you guys can incorporate this fix in that patch or shall I wait till that patch is merged and modify this patch accordingly
[1] https://www.codeaurora.org/cgit/quic/la/kernel/msm/tree/drivers/media/radio/radio-iris.c?h=jb_3.2.1#n2052
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=870676
Attachment #797956 -
Flags: review?(pzhang)
Attachment #797956 -
Flags: review?(mwu)
Comment 1•11 years ago
|
||
Bug 870676 was backouted and will be landed again soon, so I prefer reviewing the patch based on that.
Depends on: 870676
Updated•11 years ago
|
Attachment #797956 -
Flags: review?(pzhang)
Attachment #797956 -
Flags: review?(mwu)
Comment 2•11 years ago
|
||
Hey Vasanth, please rebase the patch on 870676
Assignee: nobody → vasanth
Flags: needinfo?(vasanth)
Rebased the patch according to changes in Bug 870676.
It looks much simpler now!
Attachment #802296 -
Flags: review?(pzhang)
Attachment #802296 -
Flags: review?(mwu)
Flags: needinfo?(vasanth)
Updated•11 years ago
|
Attachment #797956 -
Attachment is obsolete: true
Comment 4•11 years ago
|
||
Comment on attachment 802296 [details] [diff] [review]
0001-Fix-FM-UI-showing-previously-tuned-frequency-V2.patch
r=me for GonkFMRadio.cpp only
Attachment #802296 -
Flags: review?(mwu) → review+
Comment 5•11 years ago
|
||
Comment on attachment 802296 [details] [diff] [review]
0001-Fix-FM-UI-showing-previously-tuned-frequency-V2.patch
Review of attachment 802296 [details] [diff] [review]:
-----------------------------------------------------------------
r=me for FMRadioService.cpp
Attachment #802296 -
Flags: review?(pzhang) → review+
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2 FC (16sep)
You need to log in
before you can comment on or make changes to this bug.
Description
•