diff options
author | 2015-01-30 12:27:43 +0100 | |
---|---|---|
committer | 2015-02-06 09:56:33 +0100 | |
commit | 6bbc7fed849597ec35ffdcaf677910dd11d71d08 (patch) | |
tree | 570560b9981f146249c09fbcd8bde9cca8f3fc64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: hda - Set up GPIO for Toshiba Satellite S50D (diff) | |
download | wireguard-linux-6bbc7fed849597ec35ffdcaf677910dd11d71d08.tar.xz wireguard-linux-6bbc7fed849597ec35ffdcaf677910dd11d71d08.zip |
ALSA: Add a helper to add a new attribute group to card
For assigning sysfs entries for a card device from the driver,
introduce a new helper function, snd_card_add_dev_attr(). In this
way, we can avoid the possible race between the device registration
and the sysfs addition / removal.
The driver can pass a new attribute group to add freely. This has to
be called before snd_card_register().
Currently, up to two extra groups can be added. More than that, it'll
return an error.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions