diff options
| author | Risto Suominen <Risto.Suominen@gmail.com> | 2008-04-16 07:16:05 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:38 -0400 |
| commit | 946cda7d64b81053beac5d31148996f3e379e89e (patch) | |
| tree | 901cde371c759b15919750cc3a6e06e757a29cb9 /sound | |
| parent | 9a4f20fcbd9cd89d8e4cfcaece81802c19d467ae (diff) | |
[ALSA] snd-powermac: style pmac.c
Coding style corrections for pmac.c.
Signed-off-by: Risto Suominen <Risto.Suominen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
| -rw-r--r-- | sound/ppc/pmac.c | 4 |
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 | ||
