Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353347
b: refs/heads/master
c: f2c26d4
h: refs/heads/master
i:
  353345: 27cfac0
  353343: 5b7f882
v: v3
  • Loading branch information
Mark Brown committed Jan 21, 2013
1 parent 2f5751f commit 162d74c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5ddd303215d1e5e89d06056d17673b18219ace3
refs/heads/master: f2c26d48d9c6e91c6b9c914f215952400e6f889b
7 changes: 7 additions & 0 deletions trunk/sound/soc/codecs/arizona.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@ int arizona_set_sysclk(struct snd_soc_codec *codec, int clk_id,
case 147456000:
val |= 6 << ARIZONA_SYSCLK_FREQ_SHIFT;
break;
case 0:
dev_dbg(arizona->dev, "%s cleared\n", name);
*clk = freq;
return 0;
default:
return -EINVAL;
}
Expand Down Expand Up @@ -692,6 +696,9 @@ static int arizona_startup(struct snd_pcm_substream *substream,
return 0;
}

if (base_rate == 0)
return 0;

if (base_rate % 8000)
constraint = &arizona_44k1_constraint;
else
Expand Down

0 comments on commit 162d74c

Please sign in to comment.