Re: No pcm device?

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

 



On Mon, Oct 20, 2008 at 03:16:27PM +0200, John Kacur wrote:

> ...but I'm still scratching my head when I look at files like
> sound/soc/s3c24xx/s3c24xx-pcm.c
> It appears to be part of the DAI that connects the i2s driver and

No, there is no direct connection between any of the platform drivers
and the codec drivers - the platform drivers will be configured to
produce and understand signals on I2S as configured by a combination of
the machine drivers and core.  The codec will be configured compatibly
but at no point should the codec and platform drivers directly know
anything about each other.

> codec together? So, back to my current source of confusion, do I need
> to implement some basic kind of pcm driver for my scenario?

There should be at least a stub platform driver.  The driver is
responsible for things that apply over the entire platform - for most
platforms this is DMA since the DMA control is the same for all the
different audio interfaces the platform has.

This is nothing to do with creating a card, that is initiated by the
machine driver.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://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