Skip to content
Commit a0341620 authored by Manish Narani's avatar Manish Narani Committed by Bruce Ashfield
Browse files

usb: dwc3: xilinx: Remove the extra freeing of clocks



commit 124b11cc upstream.

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: 84770f02 ("usb: dwc3: Add driver for Xilinx platforms")
Signed-off-by: default avatarManish Narani <manish.narani@xilinx.com>
Link: https://lore.kernel.org/r/1617904448-74611-3-git-send-email-manish.narani@xilinx.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent d34f044c
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