diff options
author | Risto Suominen <Risto.Suominen@gmail.com> | 2008-04-16 13:16:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 12:00:38 +0200 |
commit | 946cda7d64b81053beac5d31148996f3e379e89e (patch) | |
tree | 901cde371c759b15919750cc3a6e06e757a29cb9 /sound/ppc | |
parent | 9a4f20fcbd9cd89d8e4cfcaece81802c19d467ae (diff) | |
download | linux-stable-946cda7d64b81053beac5d31148996f3e379e89e.tar.gz linux-stable-946cda7d64b81053beac5d31148996f3e379e89e.tar.bz2 linux-stable-946cda7d64b81053beac5d31148996f3e379e89e.zip |
[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/ppc')
-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, int rate_index; long offset; struct pmac_stream *astr; - + rec->dma_size = snd_pcm_lib_buffer_bytes(subs); rec->period_size = snd_pcm_lib_period_bytes(subs); 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, /* reset constraints */ astr->cur_freqs = chip->freqs_ok; astr->cur_formats = chip->formats_ok; - + return 0; } |