12 Oct
2009
12 Oct
'09
11:36 a.m.
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.