[media] cx25840: Add a flag to enable the CX23888 DIF to be enabled or not
authorSteven Toth <stoth@kernellabs.com>
Thu, 5 Jan 2012 00:06:13 +0000 (21:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 08:49:38 +0000 (06:49 -0200)
The CX23888 (HVR1850 and other new cards) contain a DIF which is responsible
for demodulating the audio and video. It's built directly into the CX23888
PCIe bridge. It needs to be enabled and disabled on a per-card and per-input
basis. We pass this flag from the cx23885 core driver to the sub-device
when we need the cx25840 driver to enable/disable with the DIF correctly.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/cx25840.h

index 46d1a14..783c5bd 100644 (file)
@@ -85,6 +85,7 @@ enum cx25840_video_input {
        CX25840_NONE1_CH3 = 0x800000c0,
        CX25840_SVIDEO_ON = 0x80000100,
        CX25840_COMPONENT_ON = 0x80000200,
+       CX25840_DIF_ON = 0x80000400,
 };
 
 enum cx25840_audio_input {