diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-31 23:11:31 -0400 |
---|---|---|
committer | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-31 23:11:31 -0400 |
commit | 41a918183d70414e601306083d030ed58b5b8bd7 (patch) | |
tree | 71fa6874be922bef8d24c8cd34402c79524930ae /linux/drivers/media/video/au0828/au0828.h | |
parent | cd550662abdf0912f05b5925adaba97ae022b504 (diff) | |
download | mediapointer-dvb-s2-41a918183d70414e601306083d030ed58b5b8bd7.tar.gz mediapointer-dvb-s2-41a918183d70414e601306083d030ed58b5b8bd7.tar.bz2 |
au0828: make i2c clock speed per-board configurable
From: Devin Heitmueller <dheitmueller@linuxtv.org>
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).
Priority: normal
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828.h')
-rw-r--r-- | linux/drivers/media/video/au0828/au0828.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/au0828/au0828.h b/linux/drivers/media/video/au0828/au0828.h index 6ed1a6129..b977915ef 100644 --- a/linux/drivers/media/video/au0828/au0828.h +++ b/linux/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]; }; |