MPC8610HPCD sound as module

Timur Tabi timur at freescale.com
Fri Dec 12 02:12:54 EST 2008


On Thu, Dec 11, 2008 at 7:18 AM, Peter Czanik <pczanik at fang.fa.gau.hu> wrote:
> Hello,
>
> I have an MPC8610HPCD system. The latest stable kernel (2.6.27.8) runs
> fine on this, with a catch: sound only works, when compiled in the
> kernel

That's because the driver doesn't support being compiled as a module.
The Kconfig, as *I* wrote it, only allows for in-kernel compilation.

The only way you could have gotten my drivers to compile as a module
is if you hacked the Kconfig.

> As far as I can see from comments in the sources, it should work also as
> a module. Any hints how to achieve that?

The ASoC V2 version of the driver supports loading as a module.  ASoC
V1 does not support loading sound drivers as modules, which is why I
didn't implement that support in the V1 drivers.  The 2.6.27 kernel
has ASoC V1.  ASoC V2 won't be integrated into the mainline until at
least 2.6.29, and maybe even 2.6.30.  The ASoC V2 repository is
available at http://opensource.wolfsonmicro.com/cgi-bin/gitweb.cgi?p=linux-2.6-asoc.git
under the asoc-v2-dev branch.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list