OSDN Git Service

mfd: rave-sp: Initialize flow control and parity of the port
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sat, 7 Jul 2018 02:41:05 +0000 (19:41 -0700)
committerLee Jones <lee.jones@linaro.org>
Fri, 27 Jul 2018 07:13:25 +0000 (08:13 +0100)
commit6c450bdf13ebe110821a74960936cec936edae49
tree116ed69443a1dee44951aad4b38afda090134aae
parenta6e3bb0288e1112d03f6bdea68c18d87e6683a03
mfd: rave-sp: Initialize flow control and parity of the port

Relying on serial port defaults for flow control and parity can result
in complete breakdown of communication with RAVE SP on some platforms
where defaults are not what we need them to be. One such case is
VF610-base ZII SPU3 board (not supported upstream). To avoid this
problem in the future, add code to explicitly configure both.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rave-sp.c