V4L/DVB (11343): au0828: make i2c clock speed per-board configurable
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Wed, 1 Apr 2009 03:11:31 +0000 (00:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:43:56 +0000 (21:43 -0300)
commit16af6f5a7fc2c56c4d8246b850b96324be2fec13
tree90a463eaf04bc98b3f98df8217aeff38800c5196
parent9beb0de9adc789a7da22dac811b03ff342b27b63
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>
drivers/media/video/au0828/au0828-cards.c
drivers/media/video/au0828/au0828-i2c.c
drivers/media/video/au0828/au0828.h