summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-26 08:33:45 +0100
committerTakashi Iwai <tiwai@suse.de>2013-11-27 14:55:40 +0100
commitced4cefc75fdb8be95eaee325ad0f6b2fc0a484b (patch)
tree5f0744473d4d1011ef208c0a56fe43579ad0a15c /sound/core
parenta93455e1c301ce2a4cae11682359fd2067a8fd30 (diff)
downloadop-kernel-dev-ced4cefc75fdb8be95eaee325ad0f6b2fc0a484b.zip
op-kernel-dev-ced4cefc75fdb8be95eaee325ad0f6b2fc0a484b.tar.gz
ALSA: hda - Create Headhpone Mic Jack Mode when really needed
When a headphone jack is configurable as input, the generic parser tries to make it retaskable as Headphone Mic. The switching can be done smoothly if Capture Source control exists (i.e. there is another input source). Or when user explicitly enables the creation of jack mode controls, "Headhpone Mic Jack Mode" will be created accordingly. However, if the headphone mic is the only input source, we have to create "Headphone Mic Jack Mode" control because there is no capture source selection. Otherwise, the generic parser assumes that the input is constantly enabled, thus the headphone is permanently set as input. This situation happens on the old MacBook Airs where no input is supported properly, for example. This patch fixes the problem: now "Headphone Mic Jack Mode" is created when such an input selection isn't possible. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=65681 Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud