Skip to content

Commit

Permalink
ASoC: Minor cleanups to AD1938 driver
Browse files Browse the repository at this point in the history
- Build in SND_SOC_ALL_CODECS.
- Remove null suspend/resume stuff.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Aug 13, 2009
1 parent 7eaae41 commit e9ade7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions sound/soc/codecs/ad1836.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e9ade7f

Please sign in to comment.