media: vidtv: cleanup PSI version numbers
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 20 Sep 2020 07:17:45 +0000 (09:17 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 1 Oct 2020 07:20:56 +0000 (09:20 +0200)
commitfc4405a5f1077ded3194a38b3af9b2c6b9c69437
tree2a88cd25c2f980aad23559931c1a898ecb41228f
parent56ce9eff9492e85297403ee825078463fabe8cf7
media: vidtv: cleanup PSI version numbers

There's no reason to use static vars to store PSI version
numbers.

Also, currently, version numbers are starting with 0x01,
because there's a code being called that increases it to
1 for all table initializer code, as the code may support
dynamic changes at the PS tables on some future.

So, let's just initialize them to 0x1f, in order for the
versions to be reported as starting from 0.

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