From: Steven Toth Date: Thu, 5 Jan 2012 00:06:13 +0000 (-0300) Subject: [media] cx25840: Add a flag to enable the CX23888 DIF to be enabled or not X-Git-Tag: v3.3-rc1~48^2~145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adddf86b4cf545b82e422a9897a377d7e55b50ee;p=platform%2Fkernel%2Flinux-stable.git [media] cx25840: Add a flag to enable the CX23888 DIF to be enabled or not 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/media/cx25840.h b/include/media/cx25840.h index 46d1a14..783c5bd 100644 --- a/include/media/cx25840.h +++ b/include/media/cx25840.h @@ -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 {