30 Sep
2010
30 Sep
'10
11:55 p.m.
On Thu, Sep 30, 2010, Mark Brown wrote:
On Thu, Sep 30, 2010 at 10:23:54AM -0700, Peter Hsiang wrote:
If I want to build an audio user space app to perform things like transferring large blocks of data to the sound soc codec using I2C, what is the best kernel driver interface to use for this purpose? Add file interface (read/write/ioctl) in the sound soc codec driver, or does ALSA already have this? The soc codec driver needs to co-exist with this mechanism.
This depends on what's idiomatic for the data you need to download - what is the data?
The data could be filter coefficients, or maybe even proprietary binary code image that goes into the chip's memory.