mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
switch: fsa8008: do not enable uart console
earjack debugger driver can enable the uart console. so fsa8008 doesn't need to enable the uart console. It will remove the noise. Change-Id: I6a3880f40717329034631d4488dd7b376fff8ef6
This commit is contained in:
parent
a74eef8bc8
commit
830a0a0aba
1 changed files with 0 additions and 4 deletions
|
@ -262,8 +262,6 @@ static void remove_headset(struct hsd_info *hi)
|
|||
if (has_mic == HEADSET_WITH_MIC)
|
||||
input_report_switch(hi->input, SW_MICROPHONE_INSERT, 0);
|
||||
input_sync(hi->input);
|
||||
if (hi->set_uart_console)
|
||||
hi->set_uart_console(1);
|
||||
}
|
||||
|
||||
static void detect_work(struct work_struct *work)
|
||||
|
@ -279,8 +277,6 @@ static void detect_work(struct work_struct *work)
|
|||
if (switch_get_state(&hi->sdev) != NO_DEVICE) {
|
||||
remove_headset(hi);
|
||||
} else {
|
||||
if (hi->set_uart_console)
|
||||
hi->set_uart_console(1);
|
||||
HSD_DBG("err_invalid_state state = %d\n", state);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue