summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHugo Grostabussiat2018-04-08 23:11:59 +0200
committerMauro Carvalho Chehab2018-05-04 12:50:49 +0200
commita8b48e224cad4ca39a147db282ec12d57336bb08 (patch)
tree2e15dcfe8c4496b32cb0d35f056799acf3281496 /lib
parentmedia: usbtv: Use V4L2 defines to select capture resolution (diff)
downloadkernel-qcow2-linux-a8b48e224cad4ca39a147db282ec12d57336bb08.tar.gz
kernel-qcow2-linux-a8b48e224cad4ca39a147db282ec12d57336bb08.tar.xz
kernel-qcow2-linux-a8b48e224cad4ca39a147db282ec12d57336bb08.zip
media: usbtv: Keep norm parameter specific
The user-supplied norm value gets overwritten by the generic .norm member from the norm_params. That way, we lose the specific norm the user may want to set. For instance, if the user specifies V4L2_STD_PAL_60, the value actually used will be V4L2_STD_525_60, which in the end will be as if the user had specified V4L2_STD_NTSC, since this is always the first bitfield we match the norm value against before configuring the hardware. The norm_params array is only there to match a norm with an output resolution. The norm value itself should not be changed. Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions