radio: RTC6226: post original tune event after scan complete
If FM is tuned to invalid freq and scan performed then invalid freq also included in scan list. Post the tune event with original frequency after the scan complete event posted to user space to avoid the invalid tuned freq in scan list. CRs-Fixed: 2681008 Change-Id: I8ac3b43742a4f92272fc5b0283fabcad2e04de5b Signed-off-by: himta ram <hram@codeaurora.org>
This commit is contained in:
parent
1edb650f82
commit
c0af8b864b
1 changed files with 2 additions and 3 deletions
|
@ -438,13 +438,12 @@ seek_tune_fail:
|
|||
if (!wait_for_completion_timeout(&radio->completion,
|
||||
msecs_to_jiffies(WAIT_TIMEOUT_MSEC)))
|
||||
FMDERR("%s: didn't receive STD for tune\n", __func__);
|
||||
else {
|
||||
else
|
||||
FMDERR("%s: received STD for tune\n", __func__);
|
||||
rtc6226_q_event(radio, RTC6226_EVT_TUNE_SUCC);
|
||||
}
|
||||
}
|
||||
seek_cancelled:
|
||||
rtc6226_q_event(radio, RTC6226_EVT_SEEK_COMPLETE);
|
||||
rtc6226_q_event(radio, RTC6226_EVT_TUNE_SUCC);
|
||||
radio->seek_tune_status = NO_SEEK_TUNE_PENDING;
|
||||
FMDERR("%s seek cancelled %d\n", __func__, retval);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue