[media] adv7604/adv7842: fix il_vbackporch typo and zero the struct
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 20 Sep 2014 10:36:39 +0000 (07:36 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 23:41:00 +0000 (20:41 -0300)
commitf8789e6d9c824aeaeeb5b44b926dc8e960487cfe
treec2df99d24b725314e3035560bc8944b1be31ecde
parentc166845c9c452e9639a2e8b44581ce95942e89a5
[media] adv7604/adv7842: fix il_vbackporch typo and zero the struct

Both adv7604 and adv7842 had the same typo in the code that sets
the vertical backporch for the second interlaced field: it was
assigned to vbackporch instead of il_vbackporch.

In addition, the timings struct wasn't zeroed in the adv7842 driver,
leaving several fields to undefined values causing the timing match
function to fail.

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