Thread (36 messages) flat view 36 messages, 9 authors, 2008-07-18

Re: [alsa-devel] [PATCH 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

From: Takashi Iwai <hidden>
Date: 2008-07-02 09:50:50
Also in: alsa-devel

At Tue, 01 Jul 2008 17:53:30 -0600,
Grant Likely wrote:
quoted hunk ↗ jump to hunk
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index 18f28ac..c5736e5 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -23,6 +23,12 @@ config SND_SOC
 	  This ASoC audio support can also be built as a module.  If so, the module
 	  will be called snd-soc-core.
 
+config SND_SOC_OF
+	tristate "OF helpers for SoC audio support"
+	depends on SND_SOC
+	---help---
+	  Add support for OpenFirmware device tree descriptions of sound device
+
This is a helper module and not necessarily manually selectable.
Better to make the other driver selecting this.

quoted hunk ↗ jump to hunk
diff --git a/sound/soc/soc-of.c b/sound/soc/soc-of.c
new file mode 100644
index 0000000..9694979
--- /dev/null
+++ b/sound/soc/soc-of.c
(snip)
+DEFINE_MUTEX(of_snd_soc_mutex);
+LIST_HEAD(of_snd_soc_device_list);
Missing static.


Takashi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help