Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248275
b: refs/heads/master
c: 01b07e2
h: refs/heads/master
i:
  248273: 6c46b20
  248271: f835492
v: v3
  • Loading branch information
Mark Brown committed Apr 13, 2011
1 parent 0a74f7d commit 6cbd759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 420dd718ad0bc4a4e07ae0ac7f8eac7545eb253a
refs/heads/master: 01b07e2d84c887b432353ead846f4497a33b5f5d
5 changes: 2 additions & 3 deletions trunk/sound/soc/codecs/wm8915.c
Original file line number Diff line number Diff line change
Expand Up @@ -1997,10 +1997,9 @@ static int fll_factors(struct _fll_div *fll_div, unsigned int Fref,
return 0;
}

static int wm8915_set_fll(struct snd_soc_dai *dai, int fll_id, int source,
static int wm8915_set_fll(struct snd_soc_codec *codec, int fll_id, int source,
unsigned int Fref, unsigned int Fout)
{
struct snd_soc_codec *codec = dai->codec;
struct wm8915_priv *wm8915 = snd_soc_codec_get_drvdata(codec);
struct _fll_div fll_div;
unsigned long timeout;
Expand Down Expand Up @@ -2776,6 +2775,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8915 = {
.num_dapm_widgets = ARRAY_SIZE(wm8915_dapm_widgets),
.dapm_routes = wm8915_dapm_routes,
.num_dapm_routes = ARRAY_SIZE(wm8915_dapm_routes),
.set_pll = wm8915_set_fll,
};

#define WM8915_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
Expand All @@ -2788,7 +2788,6 @@ static struct snd_soc_dai_ops wm8915_dai_ops = {
.set_fmt = wm8915_set_fmt,
.hw_params = wm8915_hw_params,
.set_sysclk = wm8915_set_sysclk,
.set_pll = wm8915_set_fll,
};

static struct snd_soc_dai_driver wm8915_dai[] = {
Expand Down

0 comments on commit 6cbd759

Please sign in to comment.