summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/dwc3-of-simple.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-16 09:30:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-16 09:30:05 +0100
commitfc19b1d09414912a327cf0a4b5ba2050ac7ad59d (patch)
tree549a6f4e77fc7c57b670273333eeabde34509aab /drivers/usb/dwc3/dwc3-of-simple.c
parentusb: cdc_acm: prevent race at write to acm while system resumes (diff)
parentusb: dwc3: core: Fix ULPI PHYs and prevent phy_get/ulpi_init during suspend/r... (diff)
downloadlinux-fc19b1d09414912a327cf0a4b5ba2050ac7ad59d.tar.xz
linux-fc19b1d09414912a327cf0a4b5ba2050ac7ad59d.zip
Merge tag 'fixes-for-v4.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
Felipe writes: usb: fixes for v4.16-rc2 First set of fixes for current -rc cycle. Most of the changes are on dwc3 this time around (59%) with some function changes (25%). Out of the those, the most important fixes are: - EP0 TRB counter fix on dwc3 - dwc3-omap stopped missing events during suspend/resume - maxpacket size fix for ep0 in dwc3 - Descriptor processing fix for functionfs Apart from these, your usual set of important-but-not-so-critical fixes all over the place.
Diffstat (limited to 'drivers/usb/dwc3/dwc3-of-simple.c')
-rw-r--r--drivers/usb/dwc3/dwc3-of-simple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c
index 7ae0eefc7cc7..e54c3622eb28 100644
--- a/drivers/usb/dwc3/dwc3-of-simple.c
+++ b/drivers/usb/dwc3/dwc3-of-simple.c
@@ -143,6 +143,7 @@ static int dwc3_of_simple_remove(struct platform_device *pdev)
clk_disable_unprepare(simple->clks[i]);
clk_put(simple->clks[i]);
}
+ simple->num_clocks = 0;
reset_control_assert(simple->resets);
reset_control_put(simple->resets);