Sorry to bother you again, but I've tried to compile the ac97c.c driver based on http://www.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git and doing so I've got some errors:
CC sound/atmel/ac97c.o sound/atmel/ac97c.c: In function 'atmel_ac97c_prepare_dma': sound/atmel/ac97c.c:127: error: implicit declaration of function 'dw_dma_cyclic_prep' sound/atmel/ac97c.c:128: warning: assignment makes pointer from integer without a cast sound/atmel/ac97c.c:135: error: dereferencing pointer to incomplete type sound/atmel/ac97c.c:138: error: dereferencing pointer to incomplete type sound/atmel/ac97c.c:142: error: dereferencing pointer to incomplete type sound/atmel/ac97c.c: In function 'atmel_ac97c_playback_hw_params': sound/atmel/ac97c.c:257: error: implicit declaration of function 'dw_dma_cyclic_free' sound/atmel/ac97c.c: In function 'atmel_ac97c_playback_trigger': sound/atmel/ac97c.c:477: error: implicit declaration of function 'dw_dma_cyclic_start' sound/atmel/ac97c.c:489: error: implicit declaration of function 'dw_dma_cyclic_stop' sound/atmel/ac97c.c: In function 'atmel_ac97c_playback_pointer': sound/atmel/ac97c.c:564: error: implicit declaration of function 'dw_dma_get_src_addr' sound/atmel/ac97c.c: In function 'atmel_ac97c_capture_pointer': sound/atmel/ac97c.c:585: error: implicit declaration of function 'dw_dma_get_dst_addr' sound/atmel/ac97c.c: In function 'filter': sound/atmel/ac97c.c:851: error: 'struct dma_chan' has no member named 'private' make[2]: *** [sound/atmel/ac97c.o] Error 1 make[1]: *** [sound/atmel] Error 2 make: *** [sound] Error 2
But if I use the linux-ketchup it will compile ok.
dw_dma_cyclic_prep is in drivers/dma/dw_dma.c on the linux-kecthup, but I can't find it on the git tree... Am I missing something?
Regards, Sedji Sedji Gaouaou a écrit :
Hi,
I have a patch which adds support for ATMEL AT91. I would like to know on which branch should I base my patch (linux ketchup or http://www.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git).
Regards, Sedji _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel