Skip to content
Commit 823f4e53 authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

serial: uartps: Fix missing unlock on error in cdns_get_id()



Add the missing unlock before return from function cdns_get_id()
in the error handling case.

Fixes: ae1cca3f ("serial: uartps: Change uart ID port allocation")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 377fedd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment