usb: qcserial: explicitly set the tty mode to raw

In fusion 2.5 configuration, peripheral(9x15) could send
hello packet to host(8960) before host application(kickstart) could
configure tty into raw mode. If hello packet is received before
kickstart can configure tty into raw mode, TTY can inspect hello
packet from peripheral and echo them. Which is represented as invalid
command from kickstart. Configure qcserial tty driver into raw mode
raw mode to prevent TTY from inspecting data from peripheral.

Change-Id: Ie3ed6fe8c943f78e9a8da19ebf73beacdbb7a475
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index e4fad5e..64fc6ea 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -406,6 +406,10 @@
 	portdata = usb_get_serial_port_data(port);
 	intfdata = serial->private;
 
+	/* explicitly set the driver mode to raw */
+	tty->raw = 0;
+	tty->real_raw = 0;
+
 	dbg("%s", __func__);
 
 	/* Start reading from the IN endpoint */