mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[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>
This commit is contained in:
parent
9a4f20fcbd
commit
946cda7d64
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue