[PATCH 0/9] serial: imx: cleanup and rs485 fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

this patch series bases on the five patches I send on Feb 18 (starting
with Message-Id: 20180218210246.25550-1-u.kleine-koenig@xxxxxxxxxxxxxx).

The goal was to fix two problems with the rs485 implementation:

 a) endless triggering of the TC irq might prevent sending chars
 b) reading from the RX fifo while RX is off results in an oops

a) is fixed in patch 8 of this series, b) is fixed in patch 7 together
with patch "serial: imx: Only handle irqs that are actually enabled"
from the previous series. The last patch prevents disabling the receive
path when there is nothing to send.
The other patches are cleanups and optimisations.

Best regards
Uwe

Uwe Kleine-König (9):
  serial: imx: Rename register fields to match newer reference manuals
  serial: imx: document functions that are called with port.lock taken
  serial: imx: add wrappers for writel and readl
  serial: imx: implement shadow registers for UCRx and UFCR
  serial: imx: simplify some conditions related to dma
  serial: imx: simplify check that prevents starting PIO when DMA is in
    use
  serial: imx: ensure that RX irqs are off if RX is off
  serial: imx: Fix handling of TC irq in combination with DMA
  serial: imx: don't prepare to send if no data is available

 drivers/tty/serial/imx.c | 628 ++++++++++++++++++++++++++++-------------------
 1 file changed, 376 insertions(+), 252 deletions(-)

-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux