[alsa-devel] dev_* output functions and ASoC codecs

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Oct 12 11:36:02 CEST 2009

On Mon, Oct 12, 2009 at 10:26:09AM +0800, Barry Song wrote:

Please don't top post and please start new threads for new topics.

> We use many global variables in asoc now, except defining two/multi
> groups of global variables to fulfill two/multi codecs work at the
> same time in one system, is there any other way?

Could you be more specific about which variables you are talking about
here?  In general you should just use the struct device driver data or
a private data field in one of the ASoC structures for any per-device
data, in much the same way as you would do for any other system.

More information about the Alsa-devel mailing list