aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/Kconfig
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2010-10-29 16:08:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:35 -0200
commit2997137be8eba5bf9c07a24d5fda1f4225f9ca7d (patch)
tree98e386a7cc5303567183e4effacf8212e638e7af /drivers/media/video/cx88/Kconfig
parent00df055ae315c9c8792dc4d012e6ad9c4d527e87 (diff)
downloadkernel_samsung_smdk4412-2997137be8eba5bf9c07a24d5fda1f4225f9ca7d.zip
kernel_samsung_smdk4412-2997137be8eba5bf9c07a24d5fda1f4225f9ca7d.tar.gz
kernel_samsung_smdk4412-2997137be8eba5bf9c07a24d5fda1f4225f9ca7d.tar.bz2
[media] ir-core: convert drivers/media/video/cx88 to ir-core
This patch converts the cx88 driver (for sampling hw) to use the decoders provided by ir-core instead of the separate ones provided by ir-functions (and gets rid of those). The value for MO_DDS_IO had a comment saying it corresponded to a 4kHz samplerate. That comment was unfortunately misleading. The actual samplerate was something like 3250Hz. The current value has been derived by analyzing the elapsed time between interrupts for different values (knowing that each interrupt corresponds to 32 samples). Thanks to Mariusz Bialonczyk <manio@skyboo.net> for testing my patches (about one a day for two weeks!) on actual hardware. Signed-off-by: David Härdeman <david@hardeman.nu> Acked-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88/Kconfig')
-rw-r--r--drivers/media/video/cx88/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/Kconfig b/drivers/media/video/cx88/Kconfig
index 0fa85cb..bcfd1ac 100644
--- a/drivers/media/video/cx88/Kconfig
+++ b/drivers/media/video/cx88/Kconfig
@@ -1,6 +1,6 @@
config VIDEO_CX88
tristate "Conexant 2388x (bt878 successor) support"
- depends on VIDEO_DEV && PCI && I2C && INPUT
+ depends on VIDEO_DEV && PCI && I2C && INPUT && IR_CORE
select I2C_ALGOBIT
select VIDEO_BTCX
select VIDEOBUF_DMA_SG