summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-09-22 09:59:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 14:08:09 +0200
commitd249e662c3e4a9d2caebf74487cf283cb6df2f77 (patch)
tree9e1d630daacba7315372761df1bb8aad84e5c51a /crypto
parent215fa41c2dfb4cf36d5b39dea9417bfadc9e770e (diff)
downloadlinux-d249e662c3e4a9d2caebf74487cf283cb6df2f77.tar.gz
linux-d249e662c3e4a9d2caebf74487cf283cb6df2f77.tar.bz2
linux-d249e662c3e4a9d2caebf74487cf283cb6df2f77.zip
mxser: store FCR state in mxser_port::FCR
We force the FCR contents on many places in the code instead of writing what was actually set in mxser_change_speed() (by ->activate() or ->set_serial_info()). So introduce mxser_port::FCR to hold the proper contents and bitwise-OR the value to what needs to be set on all those locations. That is, clearing RX and/or TX FIFOs. Those flags are self-clearing, so no need to set them to mxser_port::FCR. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210922075938.31390-7-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions