[media] cx25840: initialize the standard to NTSC_M
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 30 Nov 2015 12:28:23 +0000 (10:28 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:35:01 +0000 (13:35 -0200)
commitbfd1bbfb54ac73175f5925ba32f14815315df30f
treef65055bb2a9101a3a4dea4b821c490ca2392887b
parente69d89420e2297a896056bb29746a27d98d9b111
[media] cx25840: initialize the standard to NTSC_M

This is necessary since the *_std_setup functions rely on a valid state->std
field.

Also fix the cx23888_std_setup() to test for 60Hz instead of NTSC, just like
cx25840_std_setup() does.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/cx25840/cx25840-core.c