diff options
author | Jie Yang <yang.jie@intel.com> | 2015-04-27 21:20:58 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-27 21:37:41 +0200 |
commit | 4e3f0dc65883cac95807549b2f7a3ac183686bcb (patch) | |
tree | 68b4c872e0a9167909730354af05cf54b061c02c /sound/ppc/pmac.c | |
parent | b8dd086674cfbfc246a5b9d7d7ff37f62350a878 (diff) | |
download | linux-4e3f0dc65883cac95807549b2f7a3ac183686bcb.tar.gz linux-4e3f0dc65883cac95807549b2f7a3ac183686bcb.tar.bz2 linux-4e3f0dc65883cac95807549b2f7a3ac183686bcb.zip |
ALSA: jack: extend snd_jack_new to support phantom jack
Dont create input devices for phantom jacks.
Here, we extend snd_jack_new() to support phantom jack creating:
pass in a bool param for [non-]phantom flag, and a bool param
initial_jack to indicate whether we need to create a kctl at
this stage.
We can also add a kctl to the jack after its created meaning we
can now integrate the HDA and ASoC jacks.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/pmac.c')
0 files changed, 0 insertions, 0 deletions