Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270877
b: refs/heads/master
c: f3aa721
h: refs/heads/master
i:
  270875: 1988d4c
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 14, 2011
1 parent 180057b commit b3b47f2
Show file tree
Hide file tree
Showing 3 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: 79d07265137c166cf298d74a29038a76458ec46a
refs/heads/master: f3aa7219b15c140fece2ec6b9240fccc3b7a5afd
2 changes: 1 addition & 1 deletion trunk/sound/soc/codecs/ad193x.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ static int ad193x_hw_params(struct snd_pcm_substream *substream,
}

reg = snd_soc_read(codec, AD193X_PLL_CLK_CTRL0);
reg = (reg & AD193X_PLL_INPUT_MASK) | master_rate;
reg = (reg & (~AD193X_PLL_INPUT_MASK)) | master_rate;
snd_soc_write(codec, AD193X_PLL_CLK_CTRL0, reg);

reg = snd_soc_read(codec, AD193X_DAC_CTRL2);
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/codecs/ad193x.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#define AD193X_PLL_CLK_CTRL0 0x00
#define AD193X_PLL_POWERDOWN 0x01
#define AD193X_PLL_INPUT_MASK (~0x6)
#define AD193X_PLL_INPUT_MASK 0x6
#define AD193X_PLL_INPUT_256 (0 << 1)
#define AD193X_PLL_INPUT_384 (1 << 1)
#define AD193X_PLL_INPUT_512 (2 << 1)
Expand Down

0 comments on commit b3b47f2

Please sign in to comment.