diff options
Diffstat (limited to 'sound/soc/codecs/wm8990.c')
-rw-r--r-- | sound/soc/codecs/wm8990.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c index a1371b73ba7d..3ecce5168e94 100644 --- a/sound/soc/codecs/wm8990.c +++ b/sound/soc/codecs/wm8990.c | |||
@@ -1029,7 +1029,7 @@ static void pll_factors(struct _pll_div *pll_div, unsigned int target, | |||
1029 | pll_div->k = K; | 1029 | pll_div->k = K; |
1030 | } | 1030 | } |
1031 | 1031 | ||
1032 | static int wm8990_set_dai_pll(struct snd_soc_codec_dai *codec_dai, | 1032 | static int wm8990_set_dai_pll(struct snd_soc_dai *codec_dai, |
1033 | int pll_id, unsigned int freq_in, unsigned int freq_out) | 1033 | int pll_id, unsigned int freq_in, unsigned int freq_out) |
1034 | { | 1034 | { |
1035 | u16 reg; | 1035 | u16 reg; |
@@ -1065,7 +1065,7 @@ static int wm8990_set_dai_pll(struct snd_soc_codec_dai *codec_dai, | |||
1065 | /* | 1065 | /* |
1066 | * Clock after PLL and dividers | 1066 | * Clock after PLL and dividers |
1067 | */ | 1067 | */ |
1068 | static int wm8990_set_dai_sysclk(struct snd_soc_codec_dai *codec_dai, | 1068 | static int wm8990_set_dai_sysclk(struct snd_soc_dai *codec_dai, |
1069 | int clk_id, unsigned int freq, int dir) | 1069 | int clk_id, unsigned int freq, int dir) |
1070 | { | 1070 | { |
1071 | struct snd_soc_codec *codec = codec_dai->codec; | 1071 | struct snd_soc_codec *codec = codec_dai->codec; |
@@ -1078,7 +1078,7 @@ static int wm8990_set_dai_sysclk(struct snd_soc_codec_dai *codec_dai, | |||
1078 | /* | 1078 | /* |
1079 | * Set's ADC and Voice DAC format. | 1079 | * Set's ADC and Voice DAC format. |
1080 | */ | 1080 | */ |
1081 | static int wm8990_set_dai_fmt(struct snd_soc_codec_dai *codec_dai, | 1081 | static int wm8990_set_dai_fmt(struct snd_soc_dai *codec_dai, |
1082 | unsigned int fmt) | 1082 | unsigned int fmt) |
1083 | { | 1083 | { |
1084 | struct snd_soc_codec *codec = codec_dai->codec; | 1084 | struct snd_soc_codec *codec = codec_dai->codec; |
@@ -1131,7 +1131,7 @@ static int wm8990_set_dai_fmt(struct snd_soc_codec_dai *codec_dai, | |||
1131 | return 0; | 1131 | return 0; |
1132 | } | 1132 | } |
1133 | 1133 | ||
1134 | static int wm8990_set_dai_clkdiv(struct snd_soc_codec_dai *codec_dai, | 1134 | static int wm8990_set_dai_clkdiv(struct snd_soc_dai *codec_dai, |
1135 | int div_id, int div) | 1135 | int div_id, int div) |
1136 | { | 1136 | { |
1137 | struct snd_soc_codec *codec = codec_dai->codec; | 1137 | struct snd_soc_codec *codec = codec_dai->codec; |
@@ -1196,7 +1196,7 @@ static int wm8990_hw_params(struct snd_pcm_substream *substream, | |||
1196 | return 0; | 1196 | return 0; |
1197 | } | 1197 | } |
1198 | 1198 | ||
1199 | static int wm8990_mute(struct snd_soc_codec_dai *dai, int mute) | 1199 | static int wm8990_mute(struct snd_soc_dai *dai, int mute) |
1200 | { | 1200 | { |
1201 | struct snd_soc_codec *codec = dai->codec; | 1201 | struct snd_soc_codec *codec = dai->codec; |
1202 | u16 val; | 1202 | u16 val; |
@@ -1329,7 +1329,7 @@ static int wm8990_set_bias_level(struct snd_soc_codec *codec, | |||
1329 | * 1. ADC/DAC on Primary Interface | 1329 | * 1. ADC/DAC on Primary Interface |
1330 | * 2. ADC on Primary Interface/DAC on secondary | 1330 | * 2. ADC on Primary Interface/DAC on secondary |
1331 | */ | 1331 | */ |
1332 | struct snd_soc_codec_dai wm8990_dai = { | 1332 | struct snd_soc_dai wm8990_dai = { |
1333 | /* ADC/DAC on primary */ | 1333 | /* ADC/DAC on primary */ |
1334 | .name = "WM8990 ADC/DAC Primary", | 1334 | .name = "WM8990 ADC/DAC Primary", |
1335 | .id = 1, | 1335 | .id = 1, |