media: mxb: update the tvnorms when changing input
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 2 Mar 2023 11:39:41 +0000 (11:39 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 07:54:58 +0000 (08:54 +0100)
commit1ba2615e468ec70de1b7dfa9868d3f0456d5f40c
treee4962e3c07e33ba64fe6b32aeccbb94a727570f2
parentb2943a0e9a7859c52d75f2f5cce532e04c4320a9
media: mxb: update the tvnorms when changing input

The tuner input uses different tvnorms compared to the
S-Video/Composite inputs. So update the tvnorms field
in struct video_device when switching inputs.

This fixes a V4L2 compliance issue.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/pci/saa7146/mxb.c