[alsa-devel] [PATCH] ASoC: Ensure we generate a card name
tiwai at suse.de
Tue Sep 20 14:12:15 CEST 2011
At Tue, 20 Sep 2011 12:03:56 +0100,
Mark Brown wrote:
> On Tue, Sep 20, 2011 at 12:58:11PM +0200, Takashi Iwai wrote:
> > Better to replace any letter except [a-zA-Z0-9_] with '_' or drop
> > them. Use isalnum(), for example.
> What *are* the rules? The documentation says "driver name" which isn't
It's used as an id string, so you can guess.
Practically, it should be a single word, contain no dangerous letters
that may screw up the parser.
More information about the Alsa-devel