mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
serial: 8250_uniphier: fix error return code in uniphier_uart_probe()
commit7defa77d2bupstream. Fix to return a negative error code from the port register error handling case instead of 0, as done elsewhere in this function. Fixes:39be40ce06("serial: 8250_uniphier: fix serial port index in private data") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
970aeba3f3
commit
c0dbcbb52e
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue