26 Apr
2010
26 Apr
'10
2:05 p.m.
On Mon, Apr 26, 2010 at 5:49 AM, Mark Brown broonie@opensource.wolfsonmicro.com wrote:
It occurs to me that we probably want something a bit more flexible here than just a numeric ID - most of the use cases for having more than one of the same device are for things like 5.1 or dual speaker amps for stereo where it'd be much more convenient to have the machine driver be able to add text based prefixes to the control names (eg, "Left" and "Right").
How about instead of a string + id, we just have a string, and then define a convention for various devices. For instance, the codec could be "name@bus-addr", so my cs4270 driver would register something like "cs4270@0-004f".
--
Timur Tabi
Linux kernel developer at Freescale