slimbus: Fix missing unlock on error in slim_msg_response()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 2 Jan 2018 17:54:23 +0000 (17:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 16:00:13 +0000 (17:00 +0100)
commitf8d2c8ea5720e22522903113100c5a16683c28be
treec2c2f4e9dc0977d8d17b74fe4c37b60714e9b872
parentab9b3de70199f7479e251c30128b30b5559c97b7
slimbus: Fix missing unlock on error in slim_msg_response()

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/messaging.c