Merge "RTC6226: send the SEEK COMPLETE event when seek cancel"

This commit is contained in:
qctecmdr 2020-08-12 08:32:00 -07:00 • committed by Gerrit - the friendly Code Review server
commit 96b195bfea

View file

@ -518,6 +518,8 @@ int rtc6226_cancel_seek(struct rtc6226_device *radio)
mutex_unlock(&radio->lock);
radio->is_search_cancelled = true;
if (radio->g_search_mode == SEEK)
rtc6226_q_event(radio, RTC6226_EVT_SEEK_COMPLETE);
return retval;