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>
This commit is contained in:
Kuninori Morimoto
2018-01-29 03:05:11 +00:00
committed by Mark Brown
parent 7928b2cbe5
commit 58bd293492
3 changed files with 110 additions and 111 deletions

View File

@@ -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);