aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/pmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r--sound/ppc/pmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index 6f68ac9982e4..a38c0c790d2b 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -214,7 +214,7 @@ static int snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec,
214 int rate_index; 214 int rate_index;
215 long offset; 215 long offset;
216 struct pmac_stream *astr; 216 struct pmac_stream *astr;
217 217
218 rec->dma_size = snd_pcm_lib_buffer_bytes(subs); 218 rec->dma_size = snd_pcm_lib_buffer_bytes(subs);
219 rec->period_size = snd_pcm_lib_period_bytes(subs); 219 rec->period_size = snd_pcm_lib_period_bytes(subs);
220 rec->nperiods = rec->dma_size / rec->period_size; 220 rec->nperiods = rec->dma_size / rec->period_size;
@@ -643,7 +643,7 @@ static int snd_pmac_pcm_close(struct snd_pmac *chip, struct pmac_stream *rec,
643 /* reset constraints */ 643 /* reset constraints */
644 astr->cur_freqs = chip->freqs_ok; 644 astr->cur_freqs = chip->freqs_ok;
645 astr->cur_formats = chip->formats_ok; 645 astr->cur_formats = chip->formats_ok;
646 646
647 return 0; 647 return 0;
648} 648}
649 649