summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-21cx88-blackbird: remove unnecessary msleep()'sMichael Krufky
From: Jelle Foks <jelle@foks.8m.com> Remove the unnecessary msleep()'s in cx88-blackbird.c Signed-off-by: Jelle Foks <jelle@foks.8m.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-21cx88-blackbird: audio improvementsMichael Krufky
From: Jelle Foks <jelle@foks.8m.com> This patch should fix the 'muted audio' and 'raspy audio' problem for mpeg2 streams out of cx88-blackbird devices. Especially mythtv users would find that the audio would often sound bad (aliased, or 'raspy'), mainly related to channel changes, many (all?) other users would find that there was no audio at all in the mpeg data from the encoder chip, unless the audio was manually unmuted. The patch includes the following modifications: Don't actually start the mpeg2 encoder until the device is read from by the application. Wait until the audio is stable for at least 400ms before starting the mpeg encoder. Mute/Unmute the audio when starting/stopping the mpeg encoder. Stop the mpeg encoder when changing parameters and when changing tuner frequency. Add a variable 'mpeg_active' to struct cx8802_dev to allow tracking of whether or not the mpeg2 encoder is active. Load the firmware on cx88-blackbird driver load. Signed-off-by: Jelle Foks <jelle@foks.8m.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-14Better classify firmware typesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-14Fix audio displayMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-14Firmware standards changed. Fix the firmware-toolMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Firmware now allows having an IF table. This added some changes at the firmware formats. This patch fixes firmware-tool to properly display such newer firmware files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13merge: http://linuxtv.org/hg/~mkrufky/s5h1409Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13s5h1409: use VSB IF frequency ( 44 / 5.38 MHz ) unless otherwise specifiedMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> use VSB IF frequency ( 44 / 5.38 MHz ) if qam_if is invalid or unspecified Acked-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-13s5h1409: fix IF frequency configurationMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> On the s5h1409 demod, the IF frequency for VSB is limited to 44 / 5.38 MHz. Hardcode VSB IF frequency within the driver to 44 / 5.38 MHz. QAM IF frequency remains configurable via attach-time configuration. Acked-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-12 i2c: fix drivers/media/video/bt866.cMauro Carvalho Chehab
From: Andrew Morton <akpm@linux-foundation.org> usage_count got removed. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12s5h1409: QAM SNR related fixesSteven Toth
From: Steven Toth <stoth@hauppauge.com> QAM SNR values were incorrect when the cable was disconnected. This patch extends the lookup tables to ensure correct values are being returned. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-12 git-dvb: drivers/media/dvb/frontends/zl10353.c: avoid 64-bit divideMauro Carvalho Chehab
From: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13Cleanup kernel thread and provide overrun detectionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The previous code were a little bit messy. Cleans it up. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13Add proper locking for buffer fillingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Avoids de-alocating buffers before finishing to fill a buffer Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13Fix vivi internal debug messagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12 Makefile: always enter video/Mauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> Since not all code under drivers/media/video/ depends on CONFIG_VIDEO_DEV we cannot only enter it depending on CONFIG_VIDEO_DEV. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13merge: http://linuxtv.org/hg/~tmerle/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12 git-dvb: drivers/media/video/et61x251/et61x251_core.c: fix warningsMauro Carvalho Chehab
From: Andrew Morton <akpm@linux-foundation.org> drivers/media/video/et61x251/et61x251_core.c:390: warning: 'et61x251_i2c_read' defined but not used drivers/media/video/et61x251/et61x251_core.c:397: warning: 'et61x251_i2c_write' defined but not used Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12 git-dvb: fix build in drivers/media/dvb/frontends/tda18271.hMauro Carvalho Chehab
From: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13fix debug enableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The changes at vivi_template make debug option to not work properly. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13Allow emulating changes of video std by viviMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-13video std is a bitmask. Better to print in hexaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12__videobuf_read_start is staticMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to Jean Delvare <khali@linux-fr.org> for pointing this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12media: video: usbvision: remove ctrlUrbLockThierry MERLE
From: Daniel Walker <dwalker@mvista.com> The ctrlUrbLock has all it's users commented out, and so it's unused. This patch removes it. Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2007-12-12media-video-usbvision-add-mutex_unlock-to-error-paths-fixThierry MERLE
From: Andrew Morton <akpm@linux-foundation.org> Cc: Daniel Walker <dwalker@mvista.com> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2007-12-12media: video: usbvision: add mutex_unlock() to error pathsThierry MERLE
From: Daniel Walker <dwalker@mvista.com> There are a few error paths which don't unlock the usbvision->lock. So I've added mutex_unlock() calls to fix those paths. Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2007-12-12 buf-core.c locking fixesMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> After commit 19fb1457990b6b7e15586ec7331541a184233acc the callers in videobuf-core.c that already hold the lock must call __videobuf_read_start() instead of videobuf_read_start(). Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12merge: http://linuxtv.org/hg/~mkrufky/tda18271Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-12merge: http://linuxtv.org/hg/~mkrufky/oxford2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11 bt8xx/ section fixesMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> This patch fixes the following section mismatch with CONFIG_HOTPLUG=n: <-- snip --> ... ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11 ivtv/ section fixMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> This patch fixes the following section mismatch with CONFIG_HOTPLUG=n: <-- snip --> ... ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11Add EXPORT_SYMBOL_GPL to the saa7134 video control routinesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those newer functions are used by saa7134-empress. Adds export for them: +EXPORT_SYMBOL_GPL(saa7134_g_ctrl); +EXPORT_SYMBOL_GPL(saa7134_s_ctrl); +EXPORT_SYMBOL_GPL(saa7134_queryctrl); Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11Fix compilation when dib3000mc is compiled as a moduleMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> As reported by Andrew Morton: > ERROR: "dibusb_dib3000mc_frontend_attach" [drivers/media/dvb/dvb-usb/dvb-usb-nova-t-usb2.ko] undefined! > ERROR: "dibusb_dib3000mc_tuner_attach" [drivers/media/dvb/dvb-usb/dvb-usb-nova-t-usb2.ko] undefined! > ERROR: "dibusb_dib3000mc_frontend_attach" [drivers/media/dvb/dvb-usb/dvb-usb-dibusb-mc.ko] undefined! > ERROR: "dibusb_dib3000mc_tuner_attach" [drivers/media/dvb/dvb-usb/dvb-usb-dibusb-mc.ko] undefined! > ERROR: "dibusb_dib3000mc_frontend_attach" [drivers/media/dvb/dvb-usb/dvb-usb-a800.ko] undefined! > ERROR: "dibusb_dib3000mc_tuner_attach" [drivers/media/dvb/dvb-usb/dvb-usb-a800.ko] undefined Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11Convert saa7134-empress to video_ioctl2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> saa7134 were converted to video_ioctl2, but saa7134_empress weren't. This broke saa7134-empress, since it were dependent of saa7134_common_ioctl. With the conversion, the module had a size decrease of 436 bytes on x86_64: text data bss dec hex filename 5196 4912 4 10112 2780 old/saa7134-empress.ko 4760 4912 4 9676 25cc new/saa7134-empress.ko Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11Fix VBI supportMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> VBI were broken, since there weren't any function handlers for it. This patch fixes it, by removing the vbi_template, using, instead video_template. This also saves some extra BSS data. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11Rename all vidioc_ to saa7134_Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some functions are used also by saa7134-empress, and need to be exported. To avoid namespace confusion, rename all of them to saa7134_ Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-11merge: http://linuxtv.org/hg/~mkrufky/tunerMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10backport: V4L/DVB (6749): v4l-nopage-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original patch from: Andrew Morton <akpm@linux-foundation.org> dont just copy-and-paste stuff. (compile-tested this time) (Andrew submitted an updated version after I've applied it on -hg - The newer patch were replaced at -git) Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10backport v4l/dvb (6665a): finish the VID_HARDWARE_* removalMauro Carvalho Chehab
Original patch from Adrian Bunk <bunk@kernel.org> Date: Sun Nov 25 19:04:47 2007 -0300 This patch removes a few remainders of the VID_HARDWARE_* removal. (patch applied first at -git, since it modified some out-of-tree files) Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10Removed a bad whitespaceMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10merge backout patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10backout a backward compatibility patch that shouldn't go to masterMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> >> I recommend applying all except for the topmost patch: >> >> pvrusb2: Fix compilation for OnAir Creator config >> >> This is a backwards-compat patch that is not needed within the v4l-dvb >> repository nor the upstream kernel, but *is* needed within the pvrusb2 >> svn repository. >> > > Agreed. Just don't pull that. I will deal with the issue in svn later. > -Mike Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10tuner: use char *name instead of 128 byte fixed array for demod infoMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Don't waste 128 bytes of memory for a name that might not actually need it. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-10tda8290: fix codingstyle, open brace following struct on the same lineMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix codingstyle issue discovered after using new checkpatch.pl ERROR: open brace '{' following struct go on the same line 396: FILE: linux/drivers/media/video/tda8290.h:24: +struct tda829x_config +{ Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-09tda18271: pass i2c gate configuration into tda18271_attach()Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> If we pass TDA18271_GATE_DIGITAL into tda18271_attach(), it will always try to use the digital demodulator's i2c gate. If we pass TDA18271_GATE_ANALOG into tda18271_attach(), it will always try to use the analog demodulator's i2c gate. If we pass TDA18271_GATE_AUTO into tda18271_attach(), it will try to use the analog demodulator's i2c gate when tuning in analog mode, and it will try to use the digital demodulator's i2c gate when tuning in digital mode. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-09tda18271: use an enum rather than an integer to store analog / digital stateMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Use an enum rather than an integer #define to store analog / digital state. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-09saa7134: enable LNA in analog mode for Hauppauge WinTV HVR-1110Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Thanks to Hermann Pitton for noticing that this was missing. Cc: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-09tuner: bug-fix: default mode was set to bogus valueMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix type inconsistency in t->mode value, causing the following: tuner' 1-0043: freq set: unknown mode: 0x0004! (only visible with tuner debug enabled) Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-09tuner: add struct analog_demod_info to struct analog_tuner_opsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Store the analog demodulator name in fe.ops.analog_demod_ops.info.name Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-09saa7134: Enable remote control support for Avermedia M102Mauro Carvalho Chehab
From: Albert Graham <agraham@g-b.net> This patch enabled the IR remote control for the Avermedia M102 (card=110), which appears to be the same IR as the already supported device on the Avermedia AVerTV GO 007 FM (card=57) model, the code is two one liners which enable the IR for this device (subsystem: 1461:f31e) Signed-off-by: Albert Graham <agraham@g-b.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-09tda8290: remove dependency on struct tunerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - remove dependency of tda8290 module on struct tuner - move tuner_foo printk macros from tuner-driver.h into tuner-core.c - clean up #includes of tuner-i2c.h / tuner-driver.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>