diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-03 19:58:17 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-09 10:49:28 +0000 |
commit | 958e792c7c8f06a9e666adb0ed94fff2cf90156f (patch) | |
tree | 2acc96b83738a593cb19551101583046000ff275 /sound/soc/au1x | |
parent | 12a48a8c0087ba39d926cf1d63938ccbdb9752c3 (diff) | |
download | kernel-crypto-958e792c7c8f06a9e666adb0ed94fff2cf90156f.tar.gz kernel-crypto-958e792c7c8f06a9e666adb0ed94fff2cf90156f.tar.xz kernel-crypto-958e792c7c8f06a9e666adb0ed94fff2cf90156f.zip |
ASoC: Register platform drivers
This is done at modprobe time, mirroring current behaviour, except for
mpc5200_psc_i2s where we do registration at the same time as we register
with soc-of-simple. Since the core currently ignores registration this
has no practical impact.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/au1x')
-rw-r--r-- | sound/soc/au1x/dbdma2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c index 1466d932880..74c823d60f9 100644 --- a/sound/soc/au1x/dbdma2.c +++ b/sound/soc/au1x/dbdma2.c @@ -406,11 +406,12 @@ static int __init au1xpsc_audio_dbdma_init(void) { au1xpsc_audio_pcmdma[PCM_TX] = NULL; au1xpsc_audio_pcmdma[PCM_RX] = NULL; - return 0; + return snd_soc_register_platform(&au1xpsc_soc_platform); } static void __exit au1xpsc_audio_dbdma_exit(void) { + snd_soc_unregister_platform(&au1xpsc_soc_platform); } module_init(au1xpsc_audio_dbdma_init); |