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

Commit cc39ddf5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "radio: silabs: Fix the issue with current tuned station"

parents cb03c946 e5b7e209
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];