drm/i2c: tda998x: fix sync generation and calculation
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 14 Aug 2013 19:43:31 +0000 (21:43 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 18 Aug 2013 23:10:38 +0000 (09:10 +1000)
commit088d61d1fdfde56850c157138a6dc08880c1853d
tree186dfc72bd5cf74d1e9d90fdd73030acd6e6a86b
parentc4c11dd160a8cc98f402c4e12f94b1572e822ffd
drm/i2c: tda998x: fix sync generation and calculation

This fixes the wrong sync generation and sync calculation of TDA998x
for HS/VS-based sync detection.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Russell King <rmk_kernel@arm.linux.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i2c/tda998x_drv.c