projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8182109
)
[ARM] mfd: cpcap-audio: fixed mic inversion.
author
Eric Laurent
<elaurent@google.com>
Mon, 10 Jan 2011 18:48:19 +0000
(10:48 -0800)
committer
Iliyan Malchev
<malchev@google.com>
Wed, 12 Jan 2011 02:31:19 +0000
(18:31 -0800)
There was an inversion between built-in mic and headset mic
in cpcap_audio_ctl_ioctl() which made that the wrong mic was
activated when exiting standby.
Signed-off-by: Eric Laurent <elaurent@google.com>
drivers/mfd/tegra-cpcap-audio.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/tegra-cpcap-audio.c
b/drivers/mfd/tegra-cpcap-audio.c
index 020592ab1af7a95614dcacc4e78afa8c2d429106..a05793ec68c5e4dd3e78c63a079dd2abad1e9270 100644
(file)
--- a/
drivers/mfd/tegra-cpcap-audio.c
+++ b/
drivers/mfd/tegra-cpcap-audio.c
@@
-343,10
+343,10
@@
static long cpcap_audio_ctl_ioctl(struct file *file, unsigned int cmd,
}
switch (current_input.id) {
case CPCAP_AUDIO_IN_MIC1:
- tegra_setup_audio_in_h
ea
dset_on();
+ tegra_setup_audio_in_h
an
dset_on();
break;
case CPCAP_AUDIO_IN_MIC2:
- tegra_setup_audio_in_h
an
dset_on();
+ tegra_setup_audio_in_h
ea
dset_on();
break;
}
break;