11 Apr
2011
11 Apr
'11
10:30 p.m.
On Mon, Apr 11, 2011 at 08:27:51AM -0700, Stephen Warren wrote:
Mark Brown wrote at Sunday, April 10, 2011 7:58 PM:
you pass the full thing through platform datra or do you just pass the machine type.
Well, I was thinking of eliminating platform data completely; the selection of the correct ASoC machine driver would be based on the
Right, the machine type is essentially platform data.
name of the platform device, and the machine driver would use machine_is_*() to determine any machine-specific actions/data. So yes, at run-time, but not using runtime-determined data *tables* at all.
There'd be data of some kind in the machine driver, even if they happened to be coded as if statements.