]> 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)
commit6f8de52c7850162c839867c68f93024cec5679cb
tree2c271b72b0ca197364c898860d19f1d2112b6938
parent99ff23b95aecb38b02442f6cb74da4b8d9f58fd8
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