aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTim Niemeyer <reddog@redlap.wired.rednet.mastersword.de>2009-03-05 14:40:35 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-05 14:40:35 +0000
commitc1b03e4da22e8dd7a6caccb9e39a9201535ced11 (patch)
tree7fef4111bcc623fdbb3ddfea307b7d76b4282728 /sound
parentb0d2d69d91007322fb554b1911eca3e540d084ec (diff)
From b003024f41b34cc9a8442f7dab1b9ce099faf08b Mon Sep 17 00:00:00 2001
Subject: [PATCH] fix-alsa-bt-dai-registration-missing
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/s3c24xx/neo1973_wm8753.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
index a15b970d17c..4efa350575c 100644
--- a/sound/soc/s3c24xx/neo1973_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_wm8753.c
@@ -677,6 +677,11 @@ static int __init neo1973_init(void)
return -ENODEV;
}
+ /* register bluetooth DAI here */
+ ret = snd_soc_register_dai(&bt_dai);
+ if (ret)
+ return ret;
+
neo1973_snd_device = platform_device_alloc("soc-audio", -1);
if (!neo1973_snd_device)
return -ENOMEM;
@@ -702,6 +707,7 @@ static void __exit neo1973_exit(void)
{
DBG("Entered %s\n", __func__);
+ snd_soc_unregister_dai(&bt_dai);
i2c_del_driver(&lm4857_i2c_driver);
platform_device_unregister(neo1973_snd_device);
}