Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316293
b: refs/heads/master
c: 5001765
h: refs/heads/master
i:
  316291: 2b100d6
v: v3
  • Loading branch information
Mark Brown committed Jul 4, 2012
1 parent e9cf896 commit 2ad246e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 5b2eec3f98e08a8442ada41c4a63658b95a355f2
refs/heads/master: 5001765f992423fdfb82f42f548d3a51b9590186
3 changes: 2 additions & 1 deletion trunk/sound/soc/codecs/arizona.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,8 @@ static int arizona_hw_params(struct snd_pcm_substream *substream,
rates = &arizona_48k_bclk_rates[0];

for (i = 0; i < ARRAY_SIZE(arizona_44k1_bclk_rates); i++) {
if (rates[i] == snd_soc_params_to_bclk(params)) {
if (rates[i] >= snd_soc_params_to_bclk(params) &&
rates[i] % params_rate(params) == 0) {
bclk = i;
break;
}
Expand Down

0 comments on commit 2ad246e

Please sign in to comment.