]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00225875-2 i.MX6Q/Solo Sabreauto Bluetooth H4 fix uart rx timeouts.
authorIsrael Perez <B37753@freescale.com>
Wed, 31 Oct 2012 22:13:36 +0000 (17:13 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:39 +0000 (08:35 +0200)
commit417bc1f82a4b5f5c0a23179b0f966bd7294dc66c
tree74d1361b83b0a8580fda59c11d57f23abc1bbbd5
parent8f94a10881b13977b714459fa8e5afe78b35d850
ENGR00225875-2 i.MX6Q/Solo Sabreauto Bluetooth H4 fix uart rx timeouts.

Bluetooth H4 protocol is very susceptible to data reception timeouts.
DMA transfer only happen when ICD or AGTIM interrutps are trigger.
ICD only happen when a N idle frames are present on rx line
and rx FIFO is empty.
Meanwhile Aging timer is trigger when data in FIFO was been sitting for a
period of 8 frames.
This patch enable both in order to dispatch data as fast is possible only
when the select uart have enable DMA flag.

Signed-off-by: Israel Perez <B37753@freescale.com>
drivers/tty/serial/imx.c