media: dvb: represent min/max/step/tolerance freqs in Hz
Right now, satellite frontend drivers specify frequencies in kHz, while terrestrial/cable ones specify in Hz. That's confusing for developers. However, the main problem is that universal frontends capable of handling both satellite and non-satelite delivery systems are appearing. We end by needing to hack the drivers in order to support such hybrid frontends. So, convert everything to specify frontend frequencies in Hz. Tested-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
@@ -42,8 +42,8 @@ static struct zl10353_config mantis_vp3030_config = {
|
||||
static struct tda665x_config env57h12d5_config = {
|
||||
.name = "ENV57H12D5 (ET-50DT)",
|
||||
.addr = 0x60,
|
||||
.frequency_min = 47000000,
|
||||
.frequency_max = 862000000,
|
||||
.frequency_min = 47 * MHz,
|
||||
.frequency_max = 862 * MHz,
|
||||
.frequency_offst = 3616667,
|
||||
.ref_multiplier = 6, /* 1/6 MHz */
|
||||
.ref_divider = 100000, /* 1/6 MHz */
|
||||
|
Reference in New Issue
Block a user