Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd0a3d9b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "radio: RTC6226: post original tune event after scan complete"

parents 8df0d069 ef00a02a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -438,13 +438,12 @@ void rtc6226_scan(struct work_struct *work)
		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;