Re: [PATCH] serial: imx: Prevent RTS line toggle delays for RS485

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

 



On Wed, Apr 04, 2018 at 09:50:15AM +0200, Einar Vading wrote:
> When using RS485 in half duplex mode the RTS line is typically used to
> toggle receive/transmit on the transceiver IC. As some protocols (OSDP
> f.ex.) specify that the slave should respond within some short time period,
> it is important that the RTS line toggles the transceiver from transmit
> mode to receive mode within that time.
> 
> This change puts a pm_qos requirement on CPU_DMA_LATENCY when in RS485 tx
> mode so that CPU wake times won't cause to long delays.
> 
> Signed-off-by: Einar Vading <einarv@xxxxxxxx>
> 
> Change-Id: I6a44ff2b5283d7bc728cdc1cbfb6f60c2bca73d5

You should have gotten a complain from checkpatch.pl that this line is
not needed :(

I'll remove it this time, please be more careful in the future.

greg k-h
--
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