diff options
| author | Takashi Iwai <[email protected]> | 2015-02-20 16:49:04 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-02-20 19:51:42 +0100 |
| commit | b95bd3a454cf9e9e111b6b87c02550368fe6e802 (patch) | |
| tree | 6a4db67f7a2843d08f47b39e3796dd726ec253f3 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | ad876c862278be59147d4004f1a7c4d492e4ec96 (diff) | |
ALSA: pcm: Don't add internal PCMs to PCM device list
An internal PCM object shouldn't be added to the PCM device list, as
it's never accessed directly from the user-space, and it has no proc
or any similar accesses. Currently, it's excluded in snd_pcm_get()
and snd_pcm_next(), but it's easier not to add such an object to the
list.
Actually, the whole snd_pcm_dev_register() can be skipped for an
internal PCM. So this patch changes the code there, but also
addresses the uninitialized list_head access.
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions