Re: [PATCH 1/2] tty/serial: atmel: Add is_half_duplex helper

2019-03-18 Thread Razvan.Stefanescu
On 18/03/2019 15:41, Richard Genoud wrote: > [ adding Gil Weber in Cc: ] > > Le 15/03/2019 à 10:23, Razvan Stefanescu a écrit : >> Use a helper function to check that a port needs to use half duplex >> communication, replacing several occurrences of multi-line bit checking. >> >> Signed-off-by:

Re: [PATCH 1/2] tty/serial: atmel: Add is_half_duplex helper

2019-03-18 Thread Richard Genoud
[ adding Gil Weber in Cc: ] Le 15/03/2019 à 10:23, Razvan Stefanescu a écrit : > Use a helper function to check that a port needs to use half duplex > communication, replacing several occurrences of multi-line bit checking. > > Signed-off-by: Razvan Stefanescu > --- > drivers/tty/serial/atmel_s

[PATCH 1/2] tty/serial: atmel: Add is_half_duplex helper

2019-03-15 Thread Razvan Stefanescu
Use a helper function to check that a port needs to use half duplex communication, replacing several occurrences of multi-line bit checking. Signed-off-by: Razvan Stefanescu --- drivers/tty/serial/atmel_serial.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-)