All of lore.kernel.org
 help / color / mirror / Atom feed
* building soc module drivers
@ 2009-03-25  4:26 Geiger Ho
  2009-03-25 11:15 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Geiger Ho @ 2009-03-25  4:26 UTC (permalink / raw)
  To: alsa-devel

Hi all,

  I would like to build the WM8510 SOC sound driver for my ARM platform. 
After downloading alsa-driver-1.0.19, "./configure 
--with-cross=arm-linux- --with-kernel=/home/source/linux-2.6.22.19 
--with-build=/home/source/linux-2.6.22.19 --with-cards=all", and then 
make. I get no wm8510.c compiled. What other stuff should I do to make 
it compiled? Many thanks.

Best regards,
Geiger

-- 
Geiger Ho  <geiger.ho@fmp.fujitsu.com>, armed with Agile and Lean.
Mission: To deliver quality of work.
Phone : (852) 2736-3232 Direct : (852) 2737-9681   Fax : (852) 2314-4207
Fujitsu Microelectronics Pacific Asia Ltd, Design Centre

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

* Re: building soc module drivers
  2009-03-25  4:26 building soc module drivers Geiger Ho
@ 2009-03-25 11:15 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2009-03-25 11:15 UTC (permalink / raw)
  To: Geiger Ho; +Cc: alsa-devel

On Wed, Mar 25, 2009 at 12:26:36PM +0800, Geiger Ho wrote:

>   I would like to build the WM8510 SOC sound driver for my ARM platform. 
> After downloading alsa-driver-1.0.19, "./configure 
> --with-cross=arm-linux- --with-kernel=/home/source/linux-2.6.22.19 
> --with-build=/home/source/linux-2.6.22.19 --with-cards=all", and then 
> make. I get no wm8510.c compiled. What other stuff should I do to make 
> it compiled? Many thanks.

You need to either write a machine driver which uses the codec driver and
have the kernel configuration for that select the codec driver or select
SND_SOC_ALL_CODECS to build all the codec drivers if your module is not
part of your normal kernel sources.

See Documentation/sound/alsa/soc for an overview of the programming
model - there are many example machine drivers in the source.

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

end of thread, other threads:[~2009-03-25 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25  4:26 building soc module drivers Geiger Ho
2009-03-25 11:15 ` Mark Brown

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.