[Bugfix][T106BUG-531]When sending more bytes of data for the version that switches the common serial port, the device can only receive 17 bytes
Only Configure :No
Affected branch: master
Affected module: uart
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I98a52b77d082800c4f64c9704579cc3b7e896385
diff --git a/ap/os/linux/linux-3.4.x/drivers/tty/serial/zx29_uart.c b/ap/os/linux/linux-3.4.x/drivers/tty/serial/zx29_uart.c
index 43a208a..e599f79 100755
--- a/ap/os/linux/linux-3.4.x/drivers/tty/serial/zx29_uart.c
+++ b/ap/os/linux/linux-3.4.x/drivers/tty/serial/zx29_uart.c
@@ -3366,11 +3366,11 @@
#endif
#if CONFIG_SERIAL_ZX29_DMA
-// if(pdev->id == 0)
-// {
+ if(pdev->id != 1) //zw.wang modify for T106BUG-531 on 20240304
+ {
uart_dma_init(port);
printk(KERN_INFO "[%s][%d]UART DMA is OPENED%d\n",__func__,__LINE__,pdev->id);
-// }
+ }
#endif
ret=uart_add_one_port(&zx29_uart_driver, &port->port);