Hi,
Andy Green wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Hi Michael,
|
| I think there is more wrong than just that. Attached is a patch to
| cleanup the moved code from bq2700_battery.c. I'm also not seeing the
| ALSA device, are you?

Thanks for the patch, it's straight on andy-tracking.

| [21474540.495000] Advanced Linux Sound Architecture Driver Version
1.0.18a.
| [21474540.510000] No device for DAI s3c24xx-i2s
| [21474540.525000] ALSA device list:
| [21474540.525000]   No soundcards found.

Hum... these are the alsa-related changes I made to get it to build on
2.6.29-rc2.  On the first one, I removed the I2C class because the audio
one had gone away...

http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=bd7b7778d3b714f5f5070f02620b0ffc614b2dd8 http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=17f0a0280589d1237dc495e2df6508ce1d5744d4 http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=b68e19ab0a3704aeb9eefdff1bbe0692a5c248b2 http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=b68e19ab0a3704aeb9eefdff1bbe0692a5c248b2

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmAgEUACgkQOjLpvpq7dMrLBgCeJ+Go+K8cFCUt1IwAbonPPHfd
wl0An0CkftIasr4vK6CNKwglxfayJAlu
=sJ6p
-----END PGP SIGNATURE-----

I find somenthing related to the sound registration but I think that this is not the best solution.

Can you check it?

Regards Michael

This a temp fix for the sound registration. The problem is the bt_dai
that is not registered.

Signed-off-by: Michael Trimarchi <[email protected]>

---

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 62eda26..ff66d47 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -817,7 +817,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
 		if (!found) {
 			dev_dbg(card->dev, "DAI %s not registered\n",
 				card->dai_link[i].cpu_dai->name);
-			return;
+			continue;
 		}
 
 		if (card->dai_link[i].cpu_dai->ac97_control)
@@ -841,7 +841,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
 			if (!found) {
 				dev_dbg(card->dev, "DAI %s not registered\n",
 					card->dai_link[i].codec_dai->name);
-				return;
+				continue;
 			}
 		}
 

Reply via email to