summaryrefslogtreecommitdiff
path: root/drivers/media/test-drivers/vidtv/vidtv_channel.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-23 20:40:29 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-26 10:05:23 +0300
commitbfa4aaebe8c097439feee65f8d39a3bb541b0aea (patch)
tree0de768b19ae6a5fbb577283bdf5208fcde4a57cf /drivers/media/test-drivers/vidtv/vidtv_channel.c
parent11f4933f7bc955c16a54bf402383c5d7e4cfa8dc (diff)
downloadlinux-bfa4aaebe8c097439feee65f8d39a3bb541b0aea.tar.xz
media: vidtv: fix service_id at SDT table
The service_id there should be equal to the one used on other tables, otherwise, EIT entries won't be valid. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/test-drivers/vidtv/vidtv_channel.c')
-rw-r--r--drivers/media/test-drivers/vidtv/vidtv_channel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/test-drivers/vidtv/vidtv_channel.c b/drivers/media/test-drivers/vidtv/vidtv_channel.c
index 4aab3bb67001..8ad6c0744d36 100644
--- a/drivers/media/test-drivers/vidtv/vidtv_channel.c
+++ b/drivers/media/test-drivers/vidtv/vidtv_channel.c
@@ -424,7 +424,8 @@ int vidtv_channel_si_init(struct vidtv_mux *m)
if (!m->si.pat)
return -ENOMEM;
- m->si.sdt = vidtv_psi_sdt_table_init(m->transport_stream_id);
+ m->si.sdt = vidtv_psi_sdt_table_init(m->network_id,
+ m->transport_stream_id);
if (!m->si.sdt)
goto free_pat;