Re: [Uclinux-dist-devel] bug in spi and i2c dual buses codecs

2010-03-29 Thread Mike Frysinger
On Mon, Mar 29, 2010 at 05:49, Mark Brown wrote: > On Mon, Mar 29, 2010 at 02:24:28PM +0800, Barry Song wrote: >> In fact, if any bus is compiled as module and code is built-in, link error >> will be reported. > > Yes, this is expected behaviour.  It's not been a practical problem - > the combinati

Re: [Uclinux-dist-devel] bug in spi and i2c dual buses codecs

2010-03-29 Thread Barry Song
On Mon, Mar 29, 2010 at 5:49 PM, Mark Brown wrote: > > On Mon, Mar 29, 2010 at 02:24:28PM +0800, Barry Song wrote: > > > In fact, if any bus is compiled as module and code is built-in, link error > > will be reported. > > Yes, this is expected behaviour.  It's not been a practical problem - > the

Re: [Uclinux-dist-devel] bug in spi and i2c dual buses codecs

2010-03-29 Thread Mark Brown
On Mon, Mar 29, 2010 at 02:24:28PM +0800, Barry Song wrote: > In fact, if any bus is compiled as module and code is built-in, link error > will be reported. Yes, this is expected behaviour. It's not been a practical problem - the combination of audio built in and one of the buses modular is far

[Uclinux-dist-devel] bug in spi and i2c dual buses codecs

2010-03-28 Thread Barry Song
Hi Mark/Liam, I think there is really a bug in spi and i2c dual buses codecs drivers, for example, for any codec with two buses, if you config kernel like this: SPI MASTER built-in I2Cmodule Codec built-in You will get a link error like this: sound/built-in.o: In functio