Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92223
b: refs/heads/master
c: 946cda7
h: refs/heads/master
i:
  92221: 450d71f
  92219: 3ed392d
  92215: 3789014
  92207: 7ebeb85
  92191: d78780c
  92159: 1c9e807
v: v3
  • Loading branch information
Risto Suominen authored and Takashi Iwai committed Apr 24, 2008
1 parent 4688a89 commit 9846129
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a4f20fcbd9cd89d8e4cfcaece81802c19d467ae
refs/heads/master: 946cda7d64b81053beac5d31148996f3e379e89e
4 changes: 2 additions & 2 deletions trunk/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 9846129

Please sign in to comment.