Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()
authorChuhong Yuan <hslester96@gmail.com>
Fri, 29 May 2020 02:27:26 +0000 (10:27 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 29 May 2020 11:40:20 +0000 (13:40 +0200)
commit4803c54ca24923a30664bea2a7772db6e7303c51
tree7993cce3e5a6a4c6cb7ebc63eac6270d16cd2439
parentfeac90d756c03b03b83fabe83571bd88ecc96b78
Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()

Calls of the functions clk_disable_unprepare() and hci_free_dev()
were missing for the exception handling.
Thus add the missed function calls together with corresponding
jump targets.

Fixes: 055825614c6b ("Bluetooth: btmtkuart: add an implementation for clock osc property")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtkuart.c