summaryrefslogtreecommitdiff
path: root/linux/sound
AgeCommit message (Collapse)Author
2009-03-06tea575x-tuner: compile fixes for older kernels.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-27tea575x-tuner.c: now, it needs linux/version.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-27tea575x-tuner.c: fix some CodingStyle troubles on the previous patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-27Remove obsolete drivers: firesat (from v4l_experimental) and btaudioMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> firesat were reworked and committed as firedtv. We don't need to keep the experimental version of it. btaudio can also be removed, since OSS audio is deprecated. The driver were already removed upstream. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-27tea575x-tuner: convert it to V4L2 APIMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30v4l2-ioctl: change to long return type to match unlocked_ioctl.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Since internal to v4l2 the ioctl prototype is the same regardless of it being called through .ioctl or .unlocked_ioctl, we need to convert it all to the long return type of unlocked_ioctl. Thanks to Jean-Francois Moine for posting an initial patch for this and thus bringing it to our attention. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Jean-Francois Moine <moinejf@free.fr>
2008-12-30v4l2: introduce v4l2_file_operations.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Introduce a struct v4l2_file_operations for v4l2 drivers. Remove the unnecessary inode argument. Move compat32 handling (and llseek) into the v4l2-dev core: this is now handled in the v4l2 core and no longer in the drivers themselves. Note that this changeset reverts an earlier patch that changed the return type of__video_ioctl2 from int to long. This change will be reinstated later in a much improved version. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-11-11Backport a few minor changes from upstreamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-21Fix snd_bt87x for kernels lower than 2.6.28Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Based on a patch from Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-12backport changes on files maintained elsewhereMauro Carvalho Chehab
kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-08-23v4l: replace video_get_drvdata(video_devdata(filp)) with video_drvdata(filp)Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Use the new video_drvdata(filp) function where it is safe to do so. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-23tea575x-tuner: replace video_exclusive_open/releaseHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Move the video_exclusive_open/release functionality into the driver itself. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-16aci: remove obsolete sourcesHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The aci.c and aci.h files were copied from the kernel for a Miro radio card. That driver has been removed, so these supported sources can also be removed. In addition some remaining traces of the Miro driver were also deleted. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-26v4l2-dev: remove unused type and type2 field from video_deviceHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The type and type2 fields were unused and so could be removed. Instead add a vfl_type field that contains the type of the video device. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-22videodev: missed two more usages of the removed 'owner' field.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-17btaudio/tvmixer/miropcm20-rds: fix 2.6.16 compilationHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Missed a few warnings, this patch fixes them. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-17gspca/tea575x-tuner: fix compilation for kernels <= 2.6.17Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-08v4l-dvb: remove support for kernels < 2.6.16Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-08v4l-dvb: remove support for kernels < 2.6.13Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 3 of the compat cleanup. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-03-28Avoid build warnings for distro-patched 2.6.24 kernelsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-03-27Update some files from mainstreamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those files are maintained on other trees. Just update them to the newest version. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-13Fix compat code to work with 2.6.24Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-05Fix compilation against kernel 2.6.23Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-05backport kernel commit 69252128ec628e9d19739db0101e1826d993aecbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original Changelog: Author: Andy Shevchenko <andy@smile.org.ua> Date: Thu Jan 24 18:11:53 2008 +0100 [ALSA] fm801 - Add mute support for FM-only card with FM801 PCI to tuner bridge This is improvement of the early support of the FM-only cards where the fm801 chip represents the PCI to tuner bridge. The tuner initialization isn't included the mute on as well as mute support via V4L request. Proposed patch should fix this at least for 64-PCR model. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-05backport kernel commit 9004acc70e8c49c50c4c7b652f906f1e0ed5709dMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original patch comments: Author: Takashi Iwai <tiwai@suse.de> Date: Tue Jan 8 18:13:27 2008 +0100 [ALSA] Remove sound/driver.h This header file exists only for some hacks to adapt alsa-driver tree. It's useless for building in the kernel. Let's move a few lines in it to sound/core.h and remove it. With this patch, sound/driver.h isn't removed but has just a single compile warning to include it. This should be really killed in future. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-02backport changes on linux/sound/pci/bt87x.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-17backport changeset c1017a4cdb68ae5368fbc9ee42c77f1f5dca8916Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original description: Author: Jaroslav Kysela <perex@perex.cz> Date: Mon Oct 15 09:50:19 2007 +0200 [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-16Backport kernel commit c818e0a152bcb138411b07f4495b8e6fb9bacf52Clemens Ladisch
ALSA HG commit 5401 Date: Mon, 17 Sep 2007 07:33:37 +0000 (+0200) [ALSA] bt87x: fix detection of generic boards Add an 'unknown' board type so that it is possible to differentiate between unknown and generic boards. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16Backport kernel commit 950fb626dc28e17ae4ad01dba07957bdc6e0b997Trent Piepho
ALSA HG commit 5374 Date: Fri, 7 Sep 2007 11:18:50 +0000 (+0200) [ALSA] snd-bt87x: Power down audio ADC when not in use Sets a bit to power down the Bt87x's internal audio ADC when the ALSA device isn't open, or when it is in 'digital mode' using an external ADC. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16Backport kernel commit dcfb4140328eed2d73797f278786eb99efd9f41cTrent Piepho
kernel-sync: ALSA HG commit 5370 Date: Thu, 6 Sep 2007 13:06:44 +0000 (+0200) [ALSA] snd-bt87x: Improve support for different board types Different cards have different audio configurations, but the driver didn't support this. The only setting it had was the digital rate. This patch adds a board configuration list. Currently, configurable items are the digital rate and the digital data format (for cards with an external ADC), a flag for the absence of an external ADC, and a flag for no connection to the Bt87x internal ADC. This allows cards that don't use the internal ADC to omit the ALSA 'Bt87x analog' device and related controls. Cards without an external ADC can omit the 'Bt87x digital' device. In order to support the CS5331A ADC used on the Osprey 440 and 2x0 cards, the digital format needs to be different than the default. Support could be added for defining: The connections or lack of them to the Bt87x's internal ADC mux Multiple sample rates for an external ADC (e.g. Osprey) Control of an external mux for an external ADC (e.g. Osprey) The card definitions for cards other than the Ospreys are kept equivalent to their old values. This is likely inaccurate for most cards, as it is doubtful that both an external and the internal ADC would be used. Lacking information on those cards, the behavior is left unchanged. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16Backport kernel commit abaeeb59c94b6efc368f5058009c1d82ce031abdClemens Ladisch
kernel-sync: ALSA HG commit 5313 Date: Wed, 22 Aug 2007 12:19:45 +0000 (+0200) [ALSA] bt87x - Add known PCI ID entries Added the PCI ID entries for known working devices - Prolink PixelView PV-M4900 - Pinnacle Studio PCTV rave Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16Backport kernel commit 918f3a0e8cf67b5db966516f255eaf24d814fac0Clemens Ladisch
kernel-sync: ALSA HG commit 5279 Date: Mon, 13 Aug 2007 15:40:54 +0000 (+0200) [ALSA] pcm: add snd_pcm_rate_to_rate_bit() helper Add a snd_pcm_rate_to_rate_bit() function to factor out common code used by several drivers. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16Backport kernel commit a5ce88909d3007caa7b65996a8f6784350beb2a6Takashi Iwai
kernel-sync: ALSA HG commit 5194 Date: Mon, 23 Jul 2007 13:42:26 +0000 (+0200) Clean up with common snd_ctl_boolean_*_info callbacks Clean up codes using the new common snd_ctl_boolean_*_info() callbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16Backport kernel commit 64b33619a30ff18c1535ee779572ecffcc4711d2Al Viro
kernel-sync: Date: Sun, 14 Oct 2007 18:35:20 +0000 (+0100) long vs. unsigned long - low-hanging fruits in drivers deal with signedness of the stuff passed to set_bit() et.al. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-15v4l core: remove the unused .hardware V4L1 fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> struct video_device used to define a .hardware field. While initialized on severl drivers, this field is never used inside V4L. However, drivers using it need to include the old V4L1 header. This seems to cause compilation troubles with some random configs. Better just to remove it from all drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-01backport kernel changesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: A few changes were done at mainstream, affecting v4l/dvb drivers. Backport those changes to the out-kernel tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-16compat: ALSA compat codeTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Removed some ALSA compat code from bt87x and put it into compat.h, then use this code in cx88-alsa and saa7134-alsa to avoid lots and lots of #ifs. All the kernel version checks in cx88-alsa and saa7134 were off by one too, which is now fixed. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-17Reorder compat.h to the end of includes to avoid errorsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-21bttv: Fix Viewcast Osprey 440 supportTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Various gpio and mux settings for the Osprey 440 weren't correct. Fix them and provide some documentation about how the gpios work. The osprey eeprom routine wasn't run for the 440, add it. It was also crap, re-written to be better. Add the Osprey 440 to the Bt878 ALSA driver's whitelist. Currently the sample rate is fixed at 32kHz, as the driver doesn't support different rates for digital input mode, though the card can select the rate from 32, 44.1, or 48 kHz via gpio. Setting the audio gain via ALSA isn't supported yet; a userspace tool that programs the X9221 via i2c-dev must be used. The Bt878 digital audio format isn't programmed correctly for the CS5331A ADC used, resulting in extremely garbled sound. That is fixed in a followup patch. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-23compat: Add compat.h code for pci_match_device()Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The first argument changed in 2.6.13, but it can be make backward compatible with a macro. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-05-13backport some language fixes at philips.txtMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13backport changes on sound driversMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Those drivers are maintained by alsa team. The copy here is just to allow testing newer stuff on sound drivers for multimedia boards. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21Change compat.h to be at the end of the main kernel headersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21compat: move compat.h location in btaudio driverTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Missed this one, make allyesconfig doesn't build btaudio if you have OSS turned off. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-21Updates i2c-id.h and btaudio.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: those files are maintained by i2c and alsa guys Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-11Last patch removed this by accident - revertingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-11Sync bt87x and i2c-id filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those files are maintained by alsa and i2c teams. Sync their changes into v4l/dvb tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-07bt8xx: add support for Ultraview DVB-T LiteMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Ultraview DVB-T Lite is a clone of DViCO FusionHDTV DVB-T Lite Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-12-27Backport some changes that happened at mainstreamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Basic changes: - replaced i2c_bit_del_bus() to i2c_del_adapter(); - Fixed MODULE_AUTHOR on ov7670 - Updates on drivers not maintained on this tree: i2c-id.h and sound/* kernel-sync: drivers/media/dvb/pluto2/pluto2.c | 8 ++++---- drivers/media/video/bt8xx/bttv-i2c.c | 6 +----- drivers/media/video/cx88/cx88-core.c | 2 +- drivers/media/video/cx88/cx88-vp3054-i2c.c | 2 +- drivers/media/video/ov7670.c | 2 +- drivers/media/video/vino.c | 2 +- drivers/media/video/zoran_card.c | 2 +- include/linux/i2c-id.h | 18 ++++++------------ sound/pci/bt87x.c | 4 ++-- Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>