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

Commit e5b7e209 authored by Venkateshwarlu Domakonda's avatar Venkateshwarlu Domakonda
Browse files

radio: silabs: Fix the issue with current tuned station



Current tuned station not being updated after FM SEEK operation.
Save the current tuned station after successful FM SEEK operation.

Change-Id: Ifae8d3347b02a08d76c0f0c3178c946ad81bc72b
CRs-Fixed: 687224
Signed-off-by: default avatarVenkateshwarlu Domakonda <vdomak@codeaurora.org>
parent 5df047d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1894,6 +1894,7 @@ static int silabs_fm_vidioc_g_frequency(struct file *file, void *priv,

	f = (radio->read_buf[2] << 8) + radio->read_buf[3];
	freq->frequency = f * TUNE_PARAM * TUNE_STEP_SIZE;
	radio->tuned_freq_khz = f * TUNE_STEP_SIZE;

	rssi = radio->read_buf[4];
	snr = radio->read_buf[5];