]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: cleanup PSI table header function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Nov 2020 08:33:44 +0000 (09:33 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:24 +0000 (08:05 +0100)
commitdf5b330ff1a1320ff5fe391561bb4d0675955f9f
tree2c271b72b0ca197364c898860d19f1d2112b6938
parentdd7819a9304e3f4a03f0e50fe48f7ff7efa69ffd
media: vidtv: cleanup PSI table header function

- Pass struct header_write_args as a pointer, instead of
  passing as a var;

- Initialize the psi_args struct only once.

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