AC97 audio broken on SAM9263EK?

Bill Gatliff bgat at billgatliff.com
Sat Feb 27 22:23:39 EST 2010


Sedji Gaouaou wrote:
> Hi Bill,
>
> Here is the patch for the ac97 support on AT91:
>
> http://mailman.alsa-project.org/pipermail/alsa-devel/2010-February/025629.html
>
>
> Here is the patch for the full duplex support:
>
> http://mailman.alsa-project.org/pipermail/alsa-devel/2010-February/025628.html
>

Hmm.  I applied both patches to 2.6.33-rc5.  There were two local
variables "err" and "ptcr" that weren't defined, which I corrected.  And
then there was this:

 CC      sound/atmel/ac97c.o
sound/atmel/ac97c.c: In function ‘atmel_ac97c_capture_trigger’:
sound/atmel/ac97c.c:545: warning: unused variable ‘casr’
sound/atmel/ac97c.c: In function ‘atmel_ac97c_pcm_new’:
sound/atmel/ac97c.c:743: error: ‘at91_ac97_pcm_defs’ undeclared (first
use in this function)
sound/atmel/ac97c.c:743: error: (Each undeclared identifier is reported
only once
sound/atmel/ac97c.c:743: error: for each function it appears in.)
sound/atmel/ac97c.c:743: warning: type defaults to ‘int’ in declaration
of ‘type name’
sound/atmel/ac97c.c:743: warning: type defaults to ‘int’ in declaration
of ‘type name’
sound/atmel/ac97c.c:743: error: negative width in bit-field ‘<anonymous>’
make[2]: *** [sound/atmel/ac97c.o] Error 1


b.g.

-- 
Bill Gatliff
Embedded systems training and consulting
http://billgatliff.com
bgat at billgatliff.com




More information about the linux-arm-kernel mailing list