kernel_imx/drivers/usb/serial/option.c
@@ -980,8 +980,10 @@
if (old_dcd_state && !portdata->dcd_state) {
struct tty_struct *tty =
tty_port_tty_get(&port->port);
- if (tty && !C_CLOCAL(tty))
- tty_hangup(tty);
+ if (tty && !C_CLOCAL(tty)){
+ printk(KERN_INFO"Warning!not calling tty_hangup for dcd state change at %s, line %d\n",__FUNCTION__, __LINE__);
+ //tty_hangup(tty);
+ }
tty_kref_put(tty);
}
} else {