Re: [PATCH 3/3] Add ALSA driver for Atmel AC97 controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 04 Feb 2009 13:51:48 +0100Sedji Gaouaou <sedji.gaouaou@xxxxxxxxx> wrote:
> Hi,> Hans-Christian Egtvedt a écrit :> > Yes, it should be possible to share the AC97C driver between AT91> > and AVR32. Although this AC97C driver uses the DesignWare DMAC> > controller (drivers/dma/dw_dmac.c).> > > > I do not remember which DMA interface AT91 devices uses.> > > > Should the driver go into sound/drivers then? And renamed to> > atmel-ac97c.{c,h} for example.> > > Actually there are some differences, AT91 does not use a DMA, we use> a specific IP(PDC) to transer the data...> 
PDC is still DMA ;) I guess AT91 uses the "old" PDC and not PDCA?
> Maybe we could share the same code we some #define in it?> 
Yes, it should be simple to add an additional #define in kconfig.
config SND_ATMEL_AC97C_PDC	bool	depends on ARCH_AT91
And then have some ifdefs/else around the DMA stuff, much like theatmel-mci driver does today.
-- Best regards,Hans-Christian Egtvedt_______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux