summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-alsa.c
AgeCommit message (Collapse)Author
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-18Fix compilation failure with gcc 2.95.3.Mauro Carvalho Chehab
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17Reverted latest two patchesMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17Fix compilation failure with gcc 2.95.3 and corrected set video stdMauro Carvalho Chehab
From:: Jean Delvare <khali@linux-fr.org> - Fix compilation failure with gcc 2.95.3. - Corrected a bug at video std check at cx25840 module Signed-off-by: Jean Delvare <khali@linux-fr.org> 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-11Applied saa7134-alsa changes suggested by ALSA's Takashi IwaiRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> CC: Takashi Iwai <tiwai@suse.de> - Merged parts of a patch from Takashi for an older version of the module Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-09Fixed saa7134-alsa spinlock bugRicardo Cerqueira
From: Signed-off-by:
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-09Cleanups in saa7134-alsaRicardo Cerqueira
From: - Removed some superfluous/redundant code in saa7134-alsa Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
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-08Removed superfluous stop_dma() from saa7134-alsa IRQ handlerRicardo Cerqueira
From: Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-08 * ../linux/drivers/media/video/saa7134/saa7134-alsa.c:Nickolay V. Shmyrev
Fix compilation with 2.6.8. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-11-08 * ../linux/drivers/media/video/saa7134/saa7134-alsa.c:Nickolay V. Shmyrev
* ../v4l/compat.h: Fix compilation with older kernels. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-11-08- SAA7134/ALSA IRQ management improvementsRicardo Cerqueira
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-08 - distclean now cleans also .orig and .rej filesMauro Carvalho Chehab
- make update updates from CVS - make snapshot now distcleans and updates. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-08- Fix multiple board support in saa7134-alsaRicardo Cerqueira
- Minor comment updates Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-07- Fix nasty IRQ hook bug.Ricardo Cerqueira
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-11-07- More ALSA-proposed changesRicardo Cerqueira
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-07- Applied some of the changes proposed by the ALSA teamRicardo Cerqueira
- dsp_nr replaced by ALSA's index[] Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-07- saa7134-alsa is now a standalone moduleRicardo Cerqueira
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-10-25 * ../linux/drivers/media/video/saa7134/saa7134-alsa.c:Nickolay V. Shmyrev
- Fix compilation with 2.6.8. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-10-18 - Cleanup some unnecessary ALSA memory (de/)allocationsMauro Carvalho Chehab
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespaces Cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
- Lots of small changes to allow compiling with kernel 2.4. Compilation result not tested yet. - After this patch, .version should be removed, since its syntax has changed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-08 * saa7134-alsa.c: (snd_saa7134_capsrc_put),Nickolay V. Shmyrev
(alsa_card_saa7134_create): * saa7134-core.c: (saa7134_initdev): * saa7134.h: - Fixed a bug that caused some saa7133 code to run on saa7134 boards - dsp_nr (to force a given audio card number) from OSS now works for ALSA as well. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-10-07 * saa7134-alsa.c: (saa7134_dma_stop),Nickolay V. Shmyrev
(snd_card_saa7134_capture_prepare), (snd_card_saa7134_capture_pointer), (snd_card_saa7134_capture_close), (snd_card_saa7134_capture_open), (snd_card_saa7134_pcm), (snd_saa7134_capsrc_info), (snd_saa7134_capsrc_put), (snd_card_saa7134_new_mixer), (alsa_card_saa7134_create): - Fixed kernel oops when hotswapping PC Cards - Fixed capture source switch issue in mixer - Removed some unnecessary wrappers - Minor code cleanups - Added a few comments to document the purpose of the major functions. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-10-06removed trailing whitespaceMichael Krufky
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-10-05Corrected settings for SECAM-LNickolay V. Shmyrev