]> Git Repo - linux.git/commit - sound/core/pcm.c
ALSA: control: Provide a helper to look for the preferred subdevice
authorTakashi Iwai <[email protected]>
Wed, 19 Feb 2014 13:30:29 +0000 (14:30 +0100)
committerTakashi Iwai <[email protected]>
Mon, 2 Feb 2015 13:21:21 +0000 (14:21 +0100)
commit23c18d4bfd73ee24070849faf98b3ab01263a3c4
tree944e0e24bd847fdbbddd8baf5ab0976c0fdcfa81
parent92b7952da8279189aad352efbf9f2e7001de9524
ALSA: control: Provide a helper to look for the preferred subdevice

Instead of open-coding the search over the control file loop, provide
a helper function for the preferred subdevice assigned to the current
process.

Reviewed-by: Jaroslav Kysela <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
include/sound/control.h
sound/core/control.c
sound/core/pcm.c
sound/core/rawmidi.c
This page took 0.054696 seconds and 4 git commands to generate.