summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-09-22 10:59:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 15:08:09 +0300
commitbf1434c1b72451c4e02cdbf6984fdafcec194762 (patch)
tree53868819da8d63090ab29f495a748bb6eb913063 /include/uapi
parent19236287d8d5752b3d072bb8bd18b533ef085d15 (diff)
downloadlinux-bf1434c1b72451c4e02cdbf6984fdafcec194762.tar.xz
mxser: simplify FCR computation in mxser_change_speed()
Provided FIFO is always enabled for MUST chips, move its FCR setting out of PORT_8250/PORT_16450 special case in mxser_change_speed(). Now, we can pre-set fcr to zero and invert the condition of the 'if'. This makes the code more readable (no functional change intended). Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210922075938.31390-4-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions