| Index: sound/soc/codecs/wm8804.c
|
| diff --git a/sound/soc/codecs/wm8804.c b/sound/soc/codecs/wm8804.c
|
| index 4599e8e95aa2297a1c24d9bbd726cfb6a423f57a..6785688f88069ad9b56fed4a28933d34c8751ebc 100644
|
| --- a/sound/soc/codecs/wm8804.c
|
| +++ b/sound/soc/codecs/wm8804.c
|
| @@ -23,7 +23,6 @@
|
| #include <sound/pcm.h>
|
| #include <sound/pcm_params.h>
|
| #include <sound/soc.h>
|
| -#include <sound/soc-dapm.h>
|
| #include <sound/initval.h>
|
| #include <sound/tlv.h>
|
|
|
| @@ -176,7 +175,7 @@ static int txsrc_put(struct snd_kcontrol *kcontrol,
|
| return 0;
|
| }
|
|
|
| -static int wm8804_volatile(unsigned int reg)
|
| +static int wm8804_volatile(struct snd_soc_codec *codec, unsigned int reg)
|
| {
|
| switch (reg) {
|
| case WM8804_RST_DEVID1:
|
| @@ -515,7 +514,7 @@ static int wm8804_set_bias_level(struct snd_soc_codec *codec,
|
| snd_soc_update_bits(codec, WM8804_PWRDN, 0x9, 0);
|
| break;
|
| case SND_SOC_BIAS_STANDBY:
|
| - if (codec->bias_level == SND_SOC_BIAS_OFF) {
|
| + if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) {
|
| ret = regulator_bulk_enable(ARRAY_SIZE(wm8804->supplies),
|
| wm8804->supplies);
|
| if (ret) {
|
| @@ -537,7 +536,7 @@ static int wm8804_set_bias_level(struct snd_soc_codec *codec,
|
| break;
|
| }
|
|
|
| - codec->bias_level = level;
|
| + codec->dapm.bias_level = level;
|
| return 0;
|
| }
|
|
|
| @@ -581,7 +580,7 @@ static int wm8804_probe(struct snd_soc_codec *codec)
|
| wm8804 = snd_soc_codec_get_drvdata(codec);
|
| wm8804->codec = codec;
|
|
|
| - codec->idle_bias_off = 1;
|
| + codec->dapm.idle_bias_off = 1;
|
|
|
| ret = snd_soc_codec_set_cache_io(codec, 8, 8, wm8804->control_type);
|
| if (ret < 0) {
|
|
|