[media] cx25840: fix VBI support for cx23888
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 30 Nov 2015 12:09:50 +0000 (10:09 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:31:24 +0000 (13:31 -0200)
commitcdf472d32a5a1a99c54c3df5c155785db2e529c3
treeae8f8f597b9675b71ad9c1fc621b51d51dd77389
parent80954cbbe431bcc43af6d8c8d39a83fa016dffdf
[media] cx25840: fix VBI support for cx23888

The cx23888 has the VBI registers at different addresses compared to
the other variants. In most cases it is a fixed offset, but not always.

Update the code so the right registers are written for the cx23888.

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
drivers/media/i2c/cx25840/cx25840-core.h
drivers/media/i2c/cx25840/cx25840-vbi.c