Re: [PATCH] Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()

From: Markus Elfring
Date: Thu May 28 2020 - 13:09:36 EST


> btmtuart_probe() misses several function calls in its error paths,
> including hci_free_dev() and clk_disable_unprepare().
> Refactor the code and call correct undo functions to fix the error
> paths.

How do you think about a wording variant like the following?

Change description:
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.


Would you like to add the tag âFixesâ to the commit message?

Regards,
Markus