summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-cards.c
diff options
context:
space:
mode:
authorSteven Toth2008-01-10 06:24:27 +0100
committerMauro Carvalho Chehab2008-01-25 22:04:49 +0100
commitc771261330c90b7c77f686a1aa0fb4f756e07b5f (patch)
tree30f9666dbed681421ce2ea1ca1a8728447e67233 /drivers/media/video/cx23885/cx23885-cards.c
parentV4L/DVB (7005): cx23885: SRAM reallocation prior to analog video implementation (diff)
downloadkernel-qcow2-linux-c771261330c90b7c77f686a1aa0fb4f756e07b5f.tar.gz
kernel-qcow2-linux-c771261330c90b7c77f686a1aa0fb4f756e07b5f.tar.xz
kernel-qcow2-linux-c771261330c90b7c77f686a1aa0fb4f756e07b5f.zip
V4L/DVB (7006): cx23885: Track the board clock frequency and allow overrides
The cx23885/6/8 all have different clock rates, this patch allows the core to compensate, and developers to allow vendor specific overrides. This patches will be used by future analog video and encoder patches. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-cards.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index 901bebcca7c3..a4bac43cf9f5 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -32,6 +32,8 @@
struct cx23885_board cx23885_boards[] = {
[CX23885_BOARD_UNKNOWN] = {
.name = "UNKNOWN/GENERIC",
+ /* Ensure safe default for unknown boards */
+ .clk_freq = 0,
.input = {{
.type = CX23885_VMUX_COMPOSITE1,
.vmux = 0,