]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ak881x: simplify standard checks
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 15 Jun 2015 11:33:32 +0000 (08:33 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 12:50:01 +0000 (09:50 -0300)
commit0faeaef4d5520e970fc00708cc82a15626e331cb
tree79cc36287953a42a672bb66b219914fb913b94bd
parent16faa3be16c1861a68f1c4f30a663618a17ec957
[media] ak881x: simplify standard checks

Simplify confusing conditions. This also swaps the checks for NTSC and PAL:
to be consistent with other drivers check for NTSC first. So if the user
sets both NTSC and PAL bits, then NTSC wins.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/ak881x.c