Skip to content

Commit

Permalink
[ALSA] snd-powermac: style pmac.c
Browse files Browse the repository at this point in the history
Coding style corrections for pmac.c.

Signed-off-by: Risto Suominen <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
ristosu authored and tiwai committed Apr 24, 2008
1 parent 9a4f20f commit 946cda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/ppc/pmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 946cda7

Please sign in to comment.