diff options
Diffstat (limited to 'sound/soc/codecs/ak4535.c')
-rw-r--r-- | sound/soc/codecs/ak4535.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/ak4535.c b/sound/soc/codecs/ak4535.c index 469266e881d8..b26003c4f3e8 100644 --- a/sound/soc/codecs/ak4535.c +++ b/sound/soc/codecs/ak4535.c | |||
@@ -329,7 +329,7 @@ static int ak4535_add_widgets(struct snd_soc_codec *codec) | |||
329 | return 0; | 329 | return 0; |
330 | } | 330 | } |
331 | 331 | ||
332 | static int ak4535_set_dai_sysclk(struct snd_soc_codec_dai *codec_dai, | 332 | static int ak4535_set_dai_sysclk(struct snd_soc_dai *codec_dai, |
333 | int clk_id, unsigned int freq, int dir) | 333 | int clk_id, unsigned int freq, int dir) |
334 | { | 334 | { |
335 | struct snd_soc_codec *codec = codec_dai->codec; | 335 | struct snd_soc_codec *codec = codec_dai->codec; |
@@ -369,7 +369,7 @@ static int ak4535_hw_params(struct snd_pcm_substream *substream, | |||
369 | return 0; | 369 | return 0; |
370 | } | 370 | } |
371 | 371 | ||
372 | static int ak4535_set_dai_fmt(struct snd_soc_codec_dai *codec_dai, | 372 | static int ak4535_set_dai_fmt(struct snd_soc_dai *codec_dai, |
373 | unsigned int fmt) | 373 | unsigned int fmt) |
374 | { | 374 | { |
375 | struct snd_soc_codec *codec = codec_dai->codec; | 375 | struct snd_soc_codec *codec = codec_dai->codec; |
@@ -394,7 +394,7 @@ static int ak4535_set_dai_fmt(struct snd_soc_codec_dai *codec_dai, | |||
394 | return 0; | 394 | return 0; |
395 | } | 395 | } |
396 | 396 | ||
397 | static int ak4535_mute(struct snd_soc_codec_dai *dai, int mute) | 397 | static int ak4535_mute(struct snd_soc_dai *dai, int mute) |
398 | { | 398 | { |
399 | struct snd_soc_codec *codec = dai->codec; | 399 | struct snd_soc_codec *codec = dai->codec; |
400 | u16 mute_reg = ak4535_read_reg_cache(codec, AK4535_DAC) & 0xffdf; | 400 | u16 mute_reg = ak4535_read_reg_cache(codec, AK4535_DAC) & 0xffdf; |
@@ -436,7 +436,7 @@ static int ak4535_set_bias_level(struct snd_soc_codec *codec, | |||
436 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ | 436 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ |
437 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) | 437 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) |
438 | 438 | ||
439 | struct snd_soc_codec_dai ak4535_dai = { | 439 | struct snd_soc_dai ak4535_dai = { |
440 | .name = "AK4535", | 440 | .name = "AK4535", |
441 | .playback = { | 441 | .playback = { |
442 | .stream_name = "Playback", | 442 | .stream_name = "Playback", |