linux/drivers/media/test-drivers/vidtv
Daniel W. S. Almeida 37b288f54b media: vidtv: fix build on 32bit architectures
Fix the following error for builds on 32bit architectures:

ERROR: modpost: "__udivdi3"
[drivers/media/test-drivers/vidtv/dvb-vidtv-bridge.ko] undefined!

Which is due to 64bit divisions that did not go through the helpers
in linux/math64.h

As vidtv_mux_check_mux_rate was not operational in its current form,
drop the entire function while it is not fixed properly.

For now, call vidtv_mux_pad_with_nulls with a constant number of packets
to avoid warnings due to unused functions when building this driver.

The 64bit division used in the s302m is not needed, remove them and use
a fixed number of frames and a constant PTS increment instead.

Fixes: f90cf6079b ("media: vidtv: add a bridge driver")
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-17 12:02:58 +02:00
..
Kconfig
Makefile media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_bridge.c media: vidtv: fix DVB-S/S2 tuning logic 2020-09-17 12:00:40 +02:00
vidtv_bridge.h media: vidtv: increment byte and block counters 2020-09-14 16:02:55 +02:00
vidtv_channel.c media: vidtv: prefer using dev_foo() instead of pr_foo() 2020-09-14 15:47:51 +02:00
vidtv_channel.h media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_common.c media: vidtv: fix 32-bit warnings 2020-09-14 15:48:11 +02:00
vidtv_common.h media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_demod.c media: vidtv: add DiSEqC dummy ops 2020-09-17 12:00:19 +02:00
vidtv_demod.h media: vidtv: get rid of the work queue 2020-09-14 16:02:54 +02:00
vidtv_encoder.h media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_mux.c media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_mux.h media: vidtv: increment byte and block counters 2020-09-14 16:02:55 +02:00
vidtv_pes.c media: vidtv: fix 32-bit warnings 2020-09-14 15:48:11 +02:00
vidtv_pes.h media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_psi.c media: vidtv: get rid of some endiannes nonsense 2020-09-14 15:48:31 +02:00
vidtv_psi.h media: vidtv: get rid of ENDIAN_BITFIELD nonsense 2020-09-14 15:48:48 +02:00
vidtv_s302m.c media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_s302m.h media: vidtv: fix build on 32bit architectures 2020-09-17 12:02:58 +02:00
vidtv_ts.c media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_ts.h media: vidtv: get rid of ENDIAN_BITFIELD nonsense 2020-09-14 15:48:48 +02:00
vidtv_tuner.c media: vidtv: add basic support for DVBv5 stats 2020-09-14 16:02:54 +02:00
vidtv_tuner.h