Skip to content
Commit 5c305539 authored by Branislav Radocaj's avatar Branislav Radocaj Committed by Greg Kroah-Hartman
Browse files

tty: serial: mxs-auart: fix error handling in mxs_auart_probe



If uart_add_one_port() fails in mxs_auart_probe, the clks has
to be disabled.Two clks are previously enabled in mxs_get_clks().
Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarBranislav Radocaj <branislav@radocaj.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6a28fd2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment