Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257596
b: refs/heads/master
c: b3d7615
h: refs/heads/master
v: v3
  • Loading branch information
Giridhar Maruthy authored and Mark Brown committed Jul 13, 2011
1 parent 1d24fb1 commit 5bfd363
Show file tree
Hide file tree
Showing 2 changed files with 5 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: f05bdb8bb6c5e34a9c8c12483022e4cac5133139
refs/heads/master: b3d7615f2a012c5e589209d08e89c4116134c9f4
5 changes: 4 additions & 1 deletion trunk/sound/soc/samsung/smdk_wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

#include "../codecs/wm8994.h"
#include <sound/pcm_params.h>

/*
* Default CFG switch settings to use this driver:
Expand Down Expand Up @@ -44,7 +45,9 @@ static int smdk_hw_params(struct snd_pcm_substream *substream,
int ret;

/* AIF1CLK should be >=3MHz for optimal performance */
if (params_rate(params) == 8000 || params_rate(params) == 11025)
if (params_format(params) == SNDRV_PCM_FORMAT_S24_LE)
pll_out = params_rate(params) * 384;
else if (params_rate(params) == 8000 || params_rate(params) == 11025)
pll_out = params_rate(params) * 512;
else
pll_out = params_rate(params) * 256;
Expand Down

0 comments on commit 5bfd363

Please sign in to comment.