summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-08-27 09:31:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-24 11:42:01 +0200
commit8fb0a2bf6efb67084a5d7a7f3822b4d480fca685 (patch)
treefb2dbd855df5b9889eb5bb1e1babeba9a0db3669 /lib
parenta16f065ae6c17704afe4ed6a4fd3772285a86e6e (diff)
downloadbarebox-8fb0a2bf6efb67084a5d7a7f3822b4d480fca685.tar.gz
barebox-8fb0a2bf6efb67084a5d7a7f3822b4d480fca685.tar.xz
usb: dwc3-of-simple: Use clk_bulk API
Use clk_bulk_get_all() to retrieve all clocks rather than open code this. Also actually enable the clocks, previously they had been disabled in the error path, but never enabled before. Also this fixes a memory corruption: The driver populated an array of clks, but only allocated space for a single entry. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions