[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)
commit517ef25521ad7fd61ec411871525ebc28b2170a6
tree79cc36287953a42a672bb66b219914fb913b94bd
parent1f3375e0b257d086efe2b7d3d705e47c3e4a6c2d
[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