diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-01-29 04:05:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-12 10:41:37 +0100 |
commit | 58bd2934923b7339e7320b1cbe87f13287c57c31 (patch) | |
tree | dd909d8799d0a969fc1284370430bbaaf2592ffa /sound/soc/codecs/wm8903.h | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-58bd2934923b7339e7320b1cbe87f13287c57c31.tar.xz linux-58bd2934923b7339e7320b1cbe87f13287c57c31.zip |
ASoC: wm8903: replace codec to component
Now we can replace Codec to Component. Let's do it.
Note:
xxx_codec_xxx() -> xxx_component_xxx()
.idle_bias_off = 0 -> .idle_bias_on = 1
.ignore_pmdown_time = 0 -> .use_pmdown_time = 1
- -> .endianness = 1
- -> .non_legacy_dai_naming = 1
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8903.h')
-rw-r--r-- | sound/soc/codecs/wm8903.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8903.h b/sound/soc/codecs/wm8903.h index 0bb4a647755d..1301aa9dce6f 100644 --- a/sound/soc/codecs/wm8903.h +++ b/sound/soc/codecs/wm8903.h @@ -15,7 +15,7 @@ #include <linux/i2c.h> -extern int wm8903_mic_detect(struct snd_soc_codec *codec, +extern int wm8903_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, int det, int shrt); |