summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-oss.c
AgeCommit message (Collapse)Author
2006-03-15Merging from mchehab vivi branchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13BUG_ON() Conversion in drivers/video/mediaMauro Carvalho Chehab
From: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Make video_buf more genericMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Video_buf were concerned to allow PCI devices to be used as video capture devices. This patch extends video_buf features by virtualizing pci-dependent functions and allowing other type of devices to use it. It is still DMA centric, although it may be used also by devices that emulates scatter/gather behavior or a DMA device Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-01ioctls cleanups.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-26Make late module load fix looking the same as kernel version.Mauro Carvalho Chehab
kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-21Changes saa7134 DMA sound modules to late_initcall() to prevent oopsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Replaced module_init() with late_initcall() so sound core can be loaded before these modules, to prevent an oops when booting with them statically compiled into the kernel. Signed-off-by:
2005-12-20Fix saa7134 ALSA/OSS collisionsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> When ALSA or OSS are loaded, check if the other is present Fixed hotplug notifiers cleanup on module removal Signed-off-by:
2005-12-10make tree to compile against kernel 2.5.31Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-20This patch makes needlessly global code static.Mauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-16Fix hotplugging issues with saa7134Ricardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> - Fixed issue with hotplugging and DMA sound (sound was lost when replugging a card) - Added notifiers to main saa7134 module to let the sound sub-modules know when a card has been inserted or removed Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-10cleanup whitespaceMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-09Fix backward kernel compatibity (nothing for upstream)Nickolay V. Shmyrev
From: Tyler Trafford <tatrafford@comcast.net> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-11-09added missing #include in saa7134-ossRicardo Cerqueira
From: Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-09make cx25840 use firmware image named 'cx25840.fw'Tyler Trafford
From: Tyler Trafford <tatrafford@comcast.net> Change default filename of firmware image to 'cx25840.fw' Signed-off-by: Tyler Trafford <tatrafford@comcast.net>
2005-11-09Moves 32 bit ioctl compat handler to V4L sybsystemMauro Carvalho Chehab
From: Arnd Bergmann <arnd@arndb.de> This moves the 32 bit ioctl compatibility handlers for Video4Linux into a new file and adds explicit calls to them to each v4l device driver. Unfortunately, there does not seem to be any code handling the v4l2 ioctls, so quite often the code goes through two separate conversions, first from 32 bit v4l to 64 bit v4l, and from there to 64 bit v4l2. My patch does not change that, so there is still much room for improvement. Also, some drivers have additional ioctl numbers, for which the conversion should be handled internally to that driver. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-09Finish split of DMA sound code from main saa7134 moduleRicardo Cerqueira
From: - saa7134-oss is now a standalone module as well - remaining DMA sound code has been removed from core the module - Lots of small cleanups and variable renames to get more consistency between the OSS and ALSA drivers Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-07- DMA sound struct has been renamed from "oss" to "dmasound" to betterRicardo Cerqueira
reflect the fact that it is common to both OSS and ALSA Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-06 * Makefile:Nickolay V. Shmyrev
* saa7134-alsa.c: (saa7134_dma_stop), (saa7134_dma_start), (saa7134_irq_alsa_done), (snd_card_saa7134_capture_trigger), (dsp_buffer_conf), (dsp_buffer_init), (snd_card_saa7134_pcm_prepare), (snd_card_saa7134_capture_prepare), (snd_card_saa7134_pointer), (snd_card_saa7134_capture_pointer), (snd_card_saa7134_runtime_free), (snd_card_saa7134_hw_params), (snd_card_saa7134_hw_free), (dsp_buffer_free), (saa7134_cap_close), (saa7134_cap_open), (snd_card_saa7134_capture_open), (snd_card_saa7134_capture_close), (snd_card_saa7134_pcm), (snd_saa7134_volume_info), (snd_saa7134_volume_get), (snd_saa7134_volume_put), (snd_saa7134_capsrc_info), (snd_saa7134_capsrc_get), (snd_saa7134_capsrc_put), (snd_card_saa7134_new_mixer), (snd_saa7134_free), (snd_saa7134_dev_free), (alsa_card_saa7134_create), (alsa_card_saa7134_exit): * saa7134-core.c: (saa7134_irq), (saa7134_initdev), (saa7134_finidev): * saa7134-oss.c: (dsp_rec_start): * saa7134-reg.h: * saa7134.h: - Alsa support for saa7134 that should work. Wonderful patch from Ricardo. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-07-15 - linux/version.h removed at linux-2.6.13-rc3-mm1.Mauro Carvalho Chehab
- Removed remaining trailing spaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-28 * cx88-core.c, cx88-dvb.c, cx88-input.c:Michael Krufky
* lgdt3302.c, lgdt3302_priv.h, or51132.c: * saa7134-cards.c, saa7134-core.c: * saa7134-dvb.c, saa7134-i2c.c, saa7134-oss.c: * saa7134-tvaudio.c, saa7134-video.c: * tda8290.c, tea5767.c, tuner-simple.c: - Clean up ALL whitespace using scripts/strip-trailing-whitespaces.sh Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-06-14- corrected oss sound routing for saa7133Hartmut Hackmann
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-06-13- added preliminary support for tda827x tunersHartmut Hackmann
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-05-18- fixed off by 1 error in dma setup, corrected clock routingHartmut Hackmann
2004-12-10- add moduleparam.h include to many files.Gerd Knorr
- some pinnacle 300i progress (can talk to mt352 now, not working yet through). - misc minor stuff.
2004-11-30- add new tuners.Gerd Knorr
- ir support for Compro Videomate by Michael Mellor.
2004-11-07- yet another video-buf interface change + fixups.Gerd Knorr
- move more modules to new-style insmod options.
2004-10-13- kill trailing whitespaces.Gerd Knorr
2004-09-15- added a bunch of $Id$ tags.Gerd Knorr
2004-08-25- saa7134: build fix.Gerd Knorr
- cx88: doc update.
2004-08-25- merge 2.6.9-rc1 changes (mostly __user stuff).Gerd Knorr
2004-07-14- saa7134: drop i2s_rate field + related changes.Gerd Knorr
- saa7134: adapt sync_control bits when the signal comes and goes away.
2004-04-14- cx88/tda9887: secam fixes.Gerd Knorr
- video-buf: add sanity checks (thanks to Laurent Pinchart). - saa7133: fix off-by-one bug for oss sound recording.
2004-04-13- bttv: splitted video + vbi buffer switching, that should make bttvGerd Knorr
less sensitive to IRQ latencies. - saa7134: new card added, minor saa7133 fixes (by toshii@netbsd.org).
2004-03-08- fix saa7134 oss oops.Gerd Knorr
2004-03-05- more cards supported in ir-kbd-gpio.cGerd Knorr
- add magics to video-buf structs. - fix saa7134 oss driver spinlocks. - misc minor stuff.
2004-02-22Initial revisionGerd Knorr