MLK-10959: mxc: sim: Disable cwt timer when tx and enable in rx.
authorLuwei Zhou <b45643@freescale.com>
Thu, 21 May 2015 08:56:22 +0000 (16:56 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:26 +0000 (14:47 -0500)
commit88509ad678b5d4108c120fe13a7ab247efa66f61
tree9e5b667e547e6225962d7f9fdc7b4dc1cdfb1d69
parent46a473c41b97d54e62ff1cea687ddd7705493f73
MLK-10959: mxc: sim: Disable cwt timer when tx and enable in rx.

The CWT timer is used to detect the the character interval in the data traffic.
When tx, SIM IP can guarantee the interval based our setting. When RX, we need
to enalbe the CWT timer to check whether the interval is in the range. This patch
fix this.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
(cherry picked from 9c92dfd070e7427eb1e0166f368b89b4a7ac1bff)
drivers/mxc/sim/imx_sim.c