[media] cx23885: video instead of vbi register used
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 30 Nov 2015 16:47:00 +0000 (14:47 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:37:12 +0000 (13:37 -0200)
commitecc2fe20e63a21b7db23065ff061b66fbc08e08b
tree930ca5933ceb2ad08bb61c04ce420e12df37625a
parent6c43a2178e02d41c89b93025257317d299b9e4a4
[media] cx23885: video instead of vbi register used

The VID_A_GPCNT register is for video, not vbi. Read from the right
register and don't write to the video register.

Based upon Devin's initial patch made for an older kernel which I
cleaned up and rebased. Thanks to Kernel Labs for that work.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx23885/cx23885-vbi.c