summaryrefslogtreecommitdiffstats
path: root/drivers/net/caif/caif_serial.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-03-02 07:21:43 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-10 09:34:07 +0100
commit7a9ca6329807122b53955673ef453423d3e1a3ab (patch)
tree015eb1a542c5afaf5aa1fe5aac73ba1c72bb369b /drivers/net/caif/caif_serial.c
parent7e3d3c08f17cf082dbfc86386a2e327ccb080c16 (diff)
downloadlinux-7a9ca6329807122b53955673ef453423d3e1a3ab.tar.bz2
tty: 8250/serial_cs, propagate errors in simple_config
The caller expects from the others (pfc_config and multi_config) to return standard error values. So do the same for simple_config too. We invert the if condition to handle the error case. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210302062214.29627-13-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/caif/caif_serial.c')
0 files changed, 0 insertions, 0 deletions