All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ASoC: Fix compilation error with davinci-sffsdr module
@ 2009-01-06 21:23 Hugo Villeneuve
  2009-01-06 21:31 ` Mark Brown
  0 siblings, 1 reply; 15+ messages in thread
From: Hugo Villeneuve @ 2009-01-06 21:23 UTC (permalink / raw)
  To: alsa-devel; +Cc: davinci-linux-open-source

The SFFSDR audio codec sampling frequency clock is generated by
a FPGA, and set by the FPGA driver. The FPGA driver is not yet
in the mainline kernel, so that is why an extern declaration is
used in the meantime.

Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
---
 sound/soc/davinci/davinci-sffsdr.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/sound/soc/davinci/davinci-sffsdr.c b/sound/soc/davinci/davinci-sffsdr.c
index 1bbde3e..0a03b41 100644
--- a/sound/soc/davinci/davinci-sffsdr.c
+++ b/sound/soc/davinci/davinci-sffsdr.c
@@ -25,7 +25,6 @@
 #include <asm/gpio.h>
 #include <asm/dma.h>
 #include <asm/mach-types.h>
-#include <asm/plat-sffsdr/sffsdr-fpga.h>
 
 #include <mach/asp.h>
 #include <mach/edma.h>
@@ -34,6 +33,11 @@
 #include "davinci-pcm.h"
 #include "davinci-i2s.h"
 
+/* The SFFSDR audio codec sampling frequency clock is generated by a FPGA.
+ * The FPGA driver is not yet in the mainline kernel, so that is
+ * why an extern declaration is used in the meantime. */
+extern int sffsdr_fpga_set_codec_fs(int fs);
+
 static int sffsdr_hw_params(struct snd_pcm_substream *substream,
 			    struct snd_pcm_hw_params *params)
 {
-- 
1.5.4.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-01-16 17:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-06 21:23 [PATCH 1/1] ASoC: Fix compilation error with davinci-sffsdr module Hugo Villeneuve
2009-01-06 21:31 ` Mark Brown
2009-01-06 21:41   ` Hugo Villeneuve
2009-01-06 22:00     ` Mark Brown
2009-01-14 20:54       ` Hugo Villeneuve
2009-01-15 11:18         ` Mark Brown
2009-01-15 19:54           ` Hugo Villeneuve
2009-01-15 20:01             ` Mark Brown
2009-01-15 20:10               ` Hugo Villeneuve
2009-01-15 22:10               ` Troy Kisky
2009-01-15 22:28                 ` Hugo Villeneuve
2009-01-15 22:37                   ` Troy Kisky
2009-01-15 22:37                   ` David Brownell
2009-01-15 22:50                   ` Troy Kisky
2009-01-16 17:05                     ` Hugo Villeneuve

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.