]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: properly initialize the internal state struct
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 13 Sep 2020 11:08:05 +0000 (13:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 14 Sep 2020 14:02:54 +0000 (16:02 +0200)
commit2e45ee322c151617557bc9bd796ae7fb323eeacd
treee4ab81d9c00b33851c3a4a43e1b7131822873887
parent6638dae2e4a7331bd4f498f42a23ef9f71a0ea6a
media: vidtv: properly initialize the internal state struct

Right now, the config data passed from the bridge driver is
just ignored.

Also, let's initialize the delayed work at probing time.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_demod.c
drivers/media/test-drivers/vidtv/vidtv_demod.h