summarylogtreecommitdiffstats
path: root/0010-Kernel-4.19.patch
blob: f362fb6120c2e512fb8d0352c2448a93fda8ff65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
From 119ad680800737d9b1328fcaad3c17e432ab0924 Mon Sep 17 00:00:00 2001
From: Tomasz Maciej Nowak <tmn505@gmail.com>
Date: Fri, 13 May 2022 16:03:55 +0200
Subject: [PATCH 10/13] Kernel 4.19

https://lore.kernel.org/all/cover.1530830503.git.mchehab+samsung@kernel.org
---
 vtunerc_proxyfe.c | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/vtunerc_proxyfe.c b/vtunerc_proxyfe.c
index 8f1fbc01fff0..d6b19a48e6e3 100644
--- a/vtunerc_proxyfe.c
+++ b/vtunerc_proxyfe.c
@@ -392,10 +392,9 @@ static struct dvb_frontend_ops dvb_proxyfe_ofdm_ops = {
 	.delsys = { SYS_DVBT },
 	.info = {
 		.name			= "vTuner proxyFE DVB-T",
-		.type			= FE_OFDM,
-		.frequency_min		= 51000000,
-		.frequency_max		= 863250000,
-		.frequency_stepsize	= 62500,
+		.frequency_min_hz	=     51 * MHz,
+		.frequency_max_hz	= 863250 * kHz,
+		.frequency_stepsize_hz	= 62500,
 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
 				FE_CAN_FEC_4_5 | FE_CAN_FEC_5_6 | FE_CAN_FEC_6_7 |
 				FE_CAN_FEC_7_8 | FE_CAN_FEC_8_9 | FE_CAN_FEC_AUTO |
@@ -424,10 +423,9 @@ static struct dvb_frontend_ops dvb_proxyfe_qam_ops = {
 	.delsys = { SYS_DVBC_ANNEX_A },
 	.info = {
 		.name			= "vTuner proxyFE DVB-C",
-		.type			= FE_QAM,
-		.frequency_stepsize	= 62500,
-		.frequency_min		= 51000000,
-		.frequency_max		= 858000000,
+		.frequency_stepsize_hz	= 62500,
+		.frequency_min_hz	=  51 * MHz,
+		.frequency_max_hz	= 858 * MHz,
 		.symbol_rate_min	= (57840000/2)/64,     /* SACLK/64 == (XIN/2)/64 */
 		.symbol_rate_max	= (57840000/2)/4,      /* SACLK/4 */
 		.caps = FE_CAN_QAM_16 | FE_CAN_QAM_32 | FE_CAN_QAM_64 |
@@ -454,11 +452,10 @@ static struct dvb_frontend_ops dvb_proxyfe_qpsk_ops = {
 	.delsys = { SYS_DVBS },
 	.info = {
 		.name			= "vTuner proxyFE DVB-S",
-		.type			= FE_QPSK,
-		.frequency_min		= 950000,
-		.frequency_max		= 2150000,
-		.frequency_stepsize	= 250,           /* kHz for QPSK frontends */
-		.frequency_tolerance	= 29500,
+		.frequency_min_hz	=  950 * MHz,
+		.frequency_max_hz	= 2150 * MHz,
+		.frequency_stepsize_hz	= 250 * kHz,           /* kHz for QPSK frontends */
+		.frequency_tolerance_hz	= 29500 * kHz,
 		.symbol_rate_min	= 1000000,
 		.symbol_rate_max	= 45000000,
 		.caps = FE_CAN_INVERSION_AUTO |
-- 
2.36.1