media: vidtv: simplify the crc writing logic
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Nov 2020 07:54:58 +0000 (08:54 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:24 +0000 (08:05 +0100)
commit9e0067417b26f3d9a6e3292323a160f20620a468
tree587f71134c662d1680252c3861e453b0d0fa85a0
parent5edbd330e3a06557642ffb509cc2be39964e26a6
media: vidtv: simplify the crc writing logic

Cleanup the table_section_crc32_write_into() function
by initializing struct psi_write_args only once and by
passing the args as a pointer.

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