]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: xilinx: Remove the extra freeing of clocks
authorManish Narani <manish.narani@xilinx.com>
Thu, 8 Apr 2021 17:54:08 +0000 (23:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Apr 2021 14:05:32 +0000 (16:05 +0200)
commitaa993a789b927493208fe6a6574e768715d43e70
tree77a45840dbeaae92d4a119d6e3ee6ca1bc8df994
parentf053529d6c2e981e3c43244f2fca7ae50cbd03ca
usb: dwc3: xilinx: Remove the extra freeing of clocks

The clocks are configured by devm_clk_bulk_get_all() in this driver. In
case of any error the clocks freeing will be handled automatically.
There is no need to explicitly free the clocks. Fix the same.

Fixes: a523d46a8829 ("usb: dwc3: Add driver for Xilinx platforms")
Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Link: https://lore.kernel.org/r/1617904448-74611-3-git-send-email-manish.narani@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-xilinx.c