diff options
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | 2019-09-05 10:41:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-05 10:57:44 +0300 |
commit | 9c801e313195addaf11c16e155f50789d6ebfd19 (patch) | |
tree | 21dac1deeb25051b3a42f969504cdd75431a5bc7 /drivers/tty/rocket_int.h | |
parent | a162261703910dc0b2627157c98b7b5eba33ab34 (diff) | |
download | linux-9c801e313195addaf11c16e155f50789d6ebfd19.tar.xz |
serial: sprd: correct the wrong sequence of arguments
The sequence of arguments which was passed to handle_lsr_errors() didn't
match the parameters defined in that function, &lsr was passed to flag
and &flag was passed to lsr, this patch fixed that.
Fixes: b7396a38fb28 ("tty/serial: Add Spreadtrum sc9836-uart driver support")
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20190905074151.5268-1-zhang.lyra@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/rocket_int.h')
0 files changed, 0 insertions, 0 deletions