提交 e9ade7f9 编写于 作者: M Mark Brown

ASoC: Minor cleanups to AD1938 driver

- Build in SND_SOC_ALL_CODECS.
- Remove null suspend/resume stuff.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 7eaae41e
......@@ -12,6 +12,7 @@ config SND_SOC_ALL_CODECS
tristate "Build all ASoC CODEC drivers"
select SND_SOC_L3
select SND_SOC_AC97_CODEC if SND_SOC_AC97_BUS
select SND_SOC_AD1836 if SPI_MASTER
select SND_SOC_AD1938 if SPI_MASTER
select SND_SOC_AD1980 if SND_SOC_AC97_BUS
select SND_SOC_AD73311 if I2C
......
......@@ -418,11 +418,6 @@ static int ad1836_remove(struct platform_device *pdev)
struct snd_soc_codec_device soc_codec_dev_ad1836 = {
.probe = ad1836_probe,
.remove = ad1836_remove,
/* The power management of ad1836 is very simple. There are
* only adc&dac 2 components to control. Dapm handles them.
*/
.suspend = NULL,
.resume = NULL,
};
EXPORT_SYMBOL_GPL(soc_codec_dev_ad1836);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册