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:
Devin Kim 2012-09-20 19:10:13 -07:00 committed by Iliyan Malchev
parent a74eef8bc8
commit 830a0a0aba

View file

@ -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 {