summaryrefslogtreecommitdiff
path: root/drivers/media/video/au0828/au0828.h
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-04-01 07:11:31 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-07 04:43:56 +0400
commit16af6f5a7fc2c56c4d8246b850b96324be2fec13 (patch)
tree90a463eaf04bc98b3f98df8217aeff38800c5196 /drivers/media/video/au0828/au0828.h
parent9beb0de9adc789a7da22dac811b03ff342b27b63 (diff)
downloadlinux-16af6f5a7fc2c56c4d8246b850b96324be2fec13.tar.xz
V4L/DVB (11343): au0828: make i2c clock speed per-board configurable
Setup the i2c clock speed to be definable on a per-board basis. This allows us to explicitly set the clock speed to 30 KHz on the 950q, and also gets rid of code which sets it on a basis of what chip the i2c master is talking to at any given time (which could have caused issues because i2c slaves should never receive commands at a clock higher than their supported clock speed). Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828.h')
-rw-r--r--drivers/media/video/au0828/au0828.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/au0828/au0828.h b/drivers/media/video/au0828/au0828.h
index 6ed1a6129731..b977915efbd0 100644
--- a/drivers/media/video/au0828/au0828.h
+++ b/drivers/media/video/au0828/au0828.h
@@ -81,6 +81,7 @@ struct au0828_board {
char *name;
unsigned int tuner_type;
unsigned char tuner_addr;
+ unsigned char i2c_clk_divider;
struct au0828_input input[AU0828_MAX_INPUT];
};