From: Risto Suominen Date: Wed, 16 Apr 2008 11:16:05 +0000 (+0200) Subject: [ALSA] snd-powermac: style pmac.c X-Git-Tag: v2.6.26-rc1~1087^2~37 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=946cda7d64b81053beac5d31148996f3e379e89e;p=linux-2.6-omap-h63xx.git [ALSA] snd-powermac: style pmac.c Coding style corrections for pmac.c. Signed-off-by: Risto Suominen Signed-off-by: Takashi Iwai --- diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index 6f68ac9982e..a38c0c790d2 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; }