All of lore.kernel.org
 help / color / mirror / Atom feed
* Efika (mpc5200b): sound doesn't build/work from linux-2.6.38.x
@ 2012-02-02  2:48 acrux
  2012-02-02 16:57 ` acrux
  0 siblings, 1 reply; 5+ messages in thread
From: acrux @ 2012-02-02  2:48 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Jon Smirl

[-- Attachment #1: Type: text/plain, Size: 3386 bytes --]

board: Genesi Efika (MPC5200B)
problem: unable to use sound subsystem instead it works fine with linux-2.6.36.4 (+ device tree supplement, attached) .

With linux-2.6.38.8 and linux-2.6.39.4 it doesn't build.
That's from my build log:

[...]
  LD      sound/soc/blackfin/built-in.o
  LD      sound/soc/codecs/built-in.o
  CC [M]  sound/soc/codecs/stac9766.o
  LD [M]  sound/soc/codecs/snd-soc-stac9766.o
  LD      sound/soc/davinci/built-in.o
  LD      sound/soc/ep93xx/built-in.o
  LD      sound/soc/fsl/built-in.o
  CC [M]  sound/soc/fsl/mpc5200_dma.o
sound/soc/fsl/mpc5200_dma.c:372:16: warning: 'struct of_device' declared inside parameter list
sound/soc/fsl/mpc5200_dma.c:372:16: warning: its scope is only this definition or declaration, which is probably not what you want
sound/soc/fsl/mpc5200_dma.c: In function 'mpc5200_hpcd_probe':
sound/soc/fsl/mpc5200_dma.c:383:31: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:384:31: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:385:14: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:390:14: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:402:27: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:414:20: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:428:14: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:475:21: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:478:38: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c: At top level:
sound/soc/fsl/mpc5200_dma.c:490:39: warning: 'struct of_device' declared inside parameter list
sound/soc/fsl/mpc5200_dma.c: In function 'mpc5200_hpcd_remove':
sound/soc/fsl/mpc5200_dma.c:492:47: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:494:2: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:496:33: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c:508:21: error: dereferencing pointer to incomplete type
sound/soc/fsl/mpc5200_dma.c: At top level:
sound/soc/fsl/mpc5200_dma.c:522:2: error: unknown field 'owner' specified in initializer
sound/soc/fsl/mpc5200_dma.c:522:2: warning: initialization from incompatible pointer type
sound/soc/fsl/mpc5200_dma.c:523:2: error: unknown field 'name' specified in initializer
sound/soc/fsl/mpc5200_dma.c:523:2: warning: initialization from incompatible pointer type
sound/soc/fsl/mpc5200_dma.c:524:2: error: unknown field 'match_table' specified in initializer
sound/soc/fsl/mpc5200_dma.c:524:2: warning: initialization from incompatible pointer type
sound/soc/fsl/mpc5200_dma.c:525:2: warning: initialization from incompatible pointer type
sound/soc/fsl/mpc5200_dma.c:526:2: warning: initialization from incompatible pointer type
make[3]: *** [sound/soc/fsl/mpc5200_dma.o] Error 1
make[2]: *** [sound/soc/fsl] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2


With linux-3.0.18, linux-3.1.10 and linux-3.2.2 it builds but doesn't work.
That's from my dmesg:

[...]
asoc: error - multiple DAI f0002200.sound registered with no name
mpc5200-psc-ac97 f0002200.sound: Failed to register DAI
mpc5200-psc-ac97: probe of f0002200.sound failed with error -22


best,
--nico
-- 
acrux <acrux@cruxppc.org>

[-- Attachment #2: efika.forth.gz --]
[-- Type: application/octet-stream, Size: 2518 bytes --]

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

* Re: Efika (mpc5200b): sound doesn't build/work from linux-2.6.38.x
  2012-02-02  2:48 Efika (mpc5200b): sound doesn't build/work from linux-2.6.38.x acrux
@ 2012-02-02 16:57 ` acrux
  2012-02-02 21:50   ` Tabi Timur-B04825
  0 siblings, 1 reply; 5+ messages in thread
From: acrux @ 2012-02-02 16:57 UTC (permalink / raw)
  To: acrux; +Cc: linuxppc-dev, Jon Smirl

On Thu, 2 Feb 2012 03:48:03 +0100
acrux <acrux_it@libero.it> wrote:

> board: Genesi Efika (MPC5200B)
> problem: unable to use sound subsystem instead it works fine with linux-2.6.36.4 (+ device tree supplement, attached) .
> 
> With linux-2.6.38.8 and linux-2.6.39.4 it doesn't build.
> That's from my build log:
> 
> [...]
>   LD      sound/soc/blackfin/built-in.o
>   LD      sound/soc/codecs/built-in.o
>   CC [M]  sound/soc/codecs/stac9766.o
>   LD [M]  sound/soc/codecs/snd-soc-stac9766.o
>   LD      sound/soc/davinci/built-in.o
>   LD      sound/soc/ep93xx/built-in.o
>   LD      sound/soc/fsl/built-in.o
>   CC [M]  sound/soc/fsl/mpc5200_dma.o
> sound/soc/fsl/mpc5200_dma.c:372:16: warning: 'struct of_device' declared inside parameter list
> sound/soc/fsl/mpc5200_dma.c:372:16: warning: its scope is only this definition or declaration, which is probably not what you want
> sound/soc/fsl/mpc5200_dma.c: In function 'mpc5200_hpcd_probe':
> sound/soc/fsl/mpc5200_dma.c:383:31: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:384:31: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:385:14: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:390:14: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:402:27: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:414:20: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:428:14: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:475:21: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:478:38: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c: At top level:
> sound/soc/fsl/mpc5200_dma.c:490:39: warning: 'struct of_device' declared inside parameter list
> sound/soc/fsl/mpc5200_dma.c: In function 'mpc5200_hpcd_remove':
> sound/soc/fsl/mpc5200_dma.c:492:47: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:494:2: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:496:33: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c:508:21: error: dereferencing pointer to incomplete type
> sound/soc/fsl/mpc5200_dma.c: At top level:
> sound/soc/fsl/mpc5200_dma.c:522:2: error: unknown field 'owner' specified in initializer
> sound/soc/fsl/mpc5200_dma.c:522:2: warning: initialization from incompatible pointer type
> sound/soc/fsl/mpc5200_dma.c:523:2: error: unknown field 'name' specified in initializer
> sound/soc/fsl/mpc5200_dma.c:523:2: warning: initialization from incompatible pointer type
> sound/soc/fsl/mpc5200_dma.c:524:2: error: unknown field 'match_table' specified in initializer
> sound/soc/fsl/mpc5200_dma.c:524:2: warning: initialization from incompatible pointer type
> sound/soc/fsl/mpc5200_dma.c:525:2: warning: initialization from incompatible pointer type
> sound/soc/fsl/mpc5200_dma.c:526:2: warning: initialization from incompatible pointer type
> make[3]: *** [sound/soc/fsl/mpc5200_dma.o] Error 1
> make[2]: *** [sound/soc/fsl] Error 2
> make[1]: *** [sound/soc] Error 2
> make: *** [sound] Error 2
> 
> 

well, i got the same error with also linux-2.6.37. Btw, this was already reported about a year ago:
http://lists.ozlabs.org/pipermail/linuxppc-dev/2011-February/088415.html


-- 
acrux <acrux_it@libero.it>

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

* Re: Efika (mpc5200b): sound doesn't build/work from linux-2.6.38.x
  2012-02-02 16:57 ` acrux
@ 2012-02-02 21:50   ` Tabi Timur-B04825
  2012-02-04  2:02     ` acrux
  0 siblings, 1 reply; 5+ messages in thread
From: Tabi Timur-B04825 @ 2012-02-02 21:50 UTC (permalink / raw)
  To: acrux; +Cc: linuxppc-dev, Jon Smirl

On Thu, Feb 2, 2012 at 10:57 AM, acrux <acrux_it@libero.it> wrote:


> well, i got the same error with also linux-2.6.37. Btw, this was already =
reported about a year ago:
> http://lists.ozlabs.org/pipermail/linuxppc-dev/2011-February/088415.html

I think this was fixed already.  You're using an obsolete kernel.

--=20
Timur Tabi
Linux kernel developer at Freescale=

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

* Re: Efika (mpc5200b): sound doesn't build/work from linux-2.6.38.x
  2012-02-02 21:50   ` Tabi Timur-B04825
@ 2012-02-04  2:02     ` acrux
  2012-02-05 15:25       ` Tabi Timur-B04825
  0 siblings, 1 reply; 5+ messages in thread
From: acrux @ 2012-02-04  2:02 UTC (permalink / raw)
  To: Tabi Timur-B04825; +Cc: linuxppc-dev

On Thu, 2 Feb 2012 21:50:02 +0000
Tabi Timur-B04825 <B04825@freescale.com> wrote:

> On Thu, Feb 2, 2012 at 10:57 AM, acrux <acrux_it@libero.it> wrote:
> 
> 
> > well, i got the same error with also linux-2.6.37. Btw, this was already reported about a year ago:
> > http://lists.ozlabs.org/pipermail/linuxppc-dev/2011-February/088415.html
> 
> I think this was fixed already.  You're using an obsolete kernel.
> 

hi Timur,
as i said [1] it seems to be fixed only in 3.x instead the last working one is the obsolete 2.6.36.x .
Anyway, alog the sound/soc/fsl/mpc5200_dma.c now builds the sound is still broken.

best,
--nico



[1]

On Thu, 2 Feb 2012 03:48:03 +0100
acrux <acrux_it@libero.it> wrote:

__omissis_
> 
> With linux-3.0.18, linux-3.1.10 and linux-3.2.2 it builds but doesn't work.
> That's from my dmesg:
> 
> [...]
> asoc: error - multiple DAI f0002200.sound registered with no name
> mpc5200-psc-ac97 f0002200.sound: Failed to register DAI
> mpc5200-psc-ac97: probe of f0002200.sound failed with error -22
> 


acrux <acrux@cruxppc.org>

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

* Re: Efika (mpc5200b): sound doesn't build/work from linux-2.6.38.x
  2012-02-04  2:02     ` acrux
@ 2012-02-05 15:25       ` Tabi Timur-B04825
  0 siblings, 0 replies; 5+ messages in thread
From: Tabi Timur-B04825 @ 2012-02-05 15:25 UTC (permalink / raw)
  To: acrux; +Cc: linuxppc-dev

On Fri, Feb 3, 2012 at 8:02 PM, acrux <acrux_it@libero.it> wrote:

> as i said [1] it seems to be fixed only in 3.x instead the last working o=
ne is the obsolete 2.6.36.x .
> Anyway, alog the sound/soc/fsl/mpc5200_dma.c now builds the sound is stil=
l broken.

Ok, I missed that part in your email.

The Efika sound driver was not being compiled by default for a very
long time, so I think everyone just forgot about it.  I posted a patch
to enable it by default and fix the compilation errors, but I'm pretty
sure that it's succumbed to bit rot.  ALSA has changed, especially
with the introduction of device trees, and so now someone needs to fix
the Efika driver.

--=20
Timur Tabi
Linux kernel developer at Freescale=

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

end of thread, other threads:[~2012-02-05 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-02  2:48 Efika (mpc5200b): sound doesn't build/work from linux-2.6.38.x acrux
2012-02-02 16:57 ` acrux
2012-02-02 21:50   ` Tabi Timur-B04825
2012-02-04  2:02     ` acrux
2012-02-05 15:25       ` Tabi Timur-B04825

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.