summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-08 13:14:21 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-08 13:14:21 +0000
commit2d1e6e87082b45a60c3178ab30a7e03016814ae7 (patch)
tree1126b0c08fe8b3ef1057904f49baeb31ce3edae8 /linux
parentf4f7bc3eef0181256728dc03f22485334261e4b0 (diff)
downloadmediapointer-dvb-s2-2d1e6e87082b45a60c3178ab30a7e03016814ae7.tar.gz
mediapointer-dvb-s2-2d1e6e87082b45a60c3178ab30a7e03016814ae7.tar.bz2
- distclean now cleans also .orig and .rej files
- make update updates from CVS - make snapshot now distcleans and updates. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-alsa.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-alsa.c b/linux/drivers/media/video/saa7134/saa7134-alsa.c
index fff4aec63..9813a23ca 100644
--- a/linux/drivers/media/video/saa7134/saa7134-alsa.c
+++ b/linux/drivers/media/video/saa7134/saa7134-alsa.c
@@ -1,7 +1,7 @@
/*
* SAA713x ALSA support for V4L
*
- * $Id: saa7134-alsa.c,v 1.16 2005/11/08 00:33:20 rmcc Exp $
+ * $Id: saa7134-alsa.c,v 1.17 2005/11/08 13:14:21 mchehab Exp $
*
* Caveats:
* - Volume doesn't work (it's always at max)
@@ -128,7 +128,7 @@ static void saa7134_dma_stop(struct saa7134_dev *dev)
*
* Called when preparing the capture device for use
*
- * - Copied verbatim from saa7134-oss's dsp_dma_start.
+ * - Copied verbatim from saa7134-oss's dsp_dma_start.
*
*/
@@ -218,7 +218,7 @@ void saa7134_irq_alsa_done(struct saa7134_dev *dev, unsigned long status)
static irqreturn_t saa7134_alsa_irq(int irq, void *dev_id, struct pt_regs *regs)
{
- snd_card_saa7134_t *saa7134 = dev_id;
+ snd_card_saa7134_t *saa7134 = dev_id;
struct saa7134_dev *dev = saa7134->saadev;
unsigned long report, status;
int loop, handled = 0;
@@ -263,18 +263,18 @@ static int snd_card_saa7134_capture_trigger(snd_pcm_substream_t * substream,
int err = 0;
spin_lock_irq(&dev->slock);
- if (cmd == SNDRV_PCM_TRIGGER_START) {
+ if (cmd == SNDRV_PCM_TRIGGER_START) {
/* start dma */
saa7134_dma_start(dev);
- } else if (cmd == SNDRV_PCM_TRIGGER_STOP) {
+ } else if (cmd == SNDRV_PCM_TRIGGER_STOP) {
/* stop dma */
saa7134_dma_stop(dev);
- } else {
- err = -EINVAL;
- }
+ } else {
+ err = -EINVAL;
+ }
spin_unlock_irq(&dev->slock);
- return err;
+ return err;
}
/*
@@ -285,7 +285,7 @@ static int snd_card_saa7134_capture_trigger(snd_pcm_substream_t * substream,
* Must be called during the preparation stage, before memory is
* allocated
*
- * - Copied verbatim from saa7134-oss.
+ * - Copied verbatim from saa7134-oss.
*
*/
@@ -317,7 +317,7 @@ static int dsp_buffer_conf(struct saa7134_dev *dev, int blksize, int blocks)
* ALSA, but I was unable to use ALSA's own DMA, and had to force the
* usage of V4L's
*
- * - Copied verbatim from saa7134-oss.
+ * - Copied verbatim from saa7134-oss.
*
*/
@@ -927,7 +927,7 @@ static int snd_saa7134_dev_free(snd_device_t *device)
/*
* ALSA initialization
*
- * Called by the init routine, once for each saa7134 device present,
+ * Called by the init routine, once for each saa7134 device present,
* it creates the basic structures and registers the ALSA devices
*
*/
@@ -1021,18 +1021,18 @@ __nodev:
static int saa7134_alsa_init(void)
{
- struct saa7134_dev *saadev = NULL;
- struct list_head *list;
+ struct saa7134_dev *saadev = NULL;
+ struct list_head *list;
printk(KERN_INFO "saa7134 ALSA driver for DMA sound loaded\n");
- list_for_each(list,&saa7134_devlist) {
- saadev = list_entry(list, struct saa7134_dev, devlist);
+ list_for_each(list,&saa7134_devlist) {
+ saadev = list_entry(list, struct saa7134_dev, devlist);
alsa_card_saa7134_create(saadev,position);
position++;
- }
+ }
- if (saadev == NULL)
+ if (saadev == NULL)
printk(KERN_INFO "saa7134 ALSA: no saa7134 cards found\n");
return 0;