Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261539
b: refs/heads/master
c: 37f9619
h: refs/heads/master
i:
  261537: 8989d4d
  261535: f100f04
v: v3
  • Loading branch information
Adam M. Dutko authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent f3cf25c commit 53167eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 51b6d717fb8e261e9705d66351f425561f114d4b
refs/heads/master: 37f9619dd5df9f1c9878ac53e27033519b8760ec
12 changes: 6 additions & 6 deletions trunk/drivers/staging/tm6000/tm6000-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/vmalloc.h>

#include <asm/delay.h>
#include <linux/delay.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
Expand Down Expand Up @@ -84,7 +84,6 @@ static int _tm6000_start_audio_dma(struct snd_tm6000_card *chip)

tm6000_set_audio_bitrate(core, 48000);


return 0;
}

Expand Down Expand Up @@ -123,6 +122,7 @@ static int dsp_buffer_alloc(struct snd_pcm_substream *substream, int size)
if (substream->runtime->dma_area) {
if (substream->runtime->dma_bytes > size)
return 0;

dsp_buffer_free(substream);
}

Expand Down Expand Up @@ -152,9 +152,9 @@ static struct snd_pcm_hardware snd_tm6000_digital_hw = {
SNDRV_PCM_INFO_MMAP_VALID,
.formats = SNDRV_PCM_FMTBIT_S16_LE,

.rates = SNDRV_PCM_RATE_CONTINUOUS,
.rate_min = 48000,
.rate_max = 48000,
.rates = SNDRV_PCM_RATE_CONTINUOUS,
.rate_min = 48000,
.rate_max = 48000,
.channels_min = 2,
.channels_max = 2,
.period_bytes_min = 64,
Expand Down Expand Up @@ -457,7 +457,7 @@ int tm6000_audio_init(struct tm6000_core *dev)
if (rc < 0)
goto error_chip;

dprintk(1,"Registered audio driver for %s\n", card->longname);
dprintk(1, "Registered audio driver for %s\n", card->longname);

return 0;

Expand Down

0 comments on commit 53167eb

Please sign in to comment.