diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2015-10-14 08:52:28 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-10-14 08:39:17 -0500 |
commit | 758ed196fcc4373a129fd661875af52d7e7d4e73 (patch) | |
tree | 72c030467f77e5813a4153bd7b36bb93d89fde09 /drivers/usb/dwc2/core.h | |
parent | 145f48c518edb945ea5b689a1d21052597f9d64b (diff) | |
download | kernel_replicant_linux-758ed196fcc4373a129fd661875af52d7e7d4e73.tar.gz kernel_replicant_linux-758ed196fcc4373a129fd661875af52d7e7d4e73.tar.bz2 kernel_replicant_linux-758ed196fcc4373a129fd661875af52d7e7d4e73.zip |
usb: dwc2: remove no longer needed init_mutex
init_mutex is a leftover from the time, when s3c-hsotg driver did not
implement proper pull up/down control and emulated it by enabling
enabling/disabling usb phy. Proper pull up/down control has been added
by commit 5b9451f8c4fbaf0549139755fb45ff2b57975b7f ("usb: dwc2: gadget:
use soft-disconnect udc feature in pullup() method"), so init_muxtex can
be removed now to avoid potential deadlocks with other locks.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Tested-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/core.h')
-rw-r--r-- | drivers/usb/dwc2/core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index ebf25045b4e8..89091db8cf02 100644 --- a/drivers/usb/dwc2/core.h +++ b/drivers/usb/dwc2/core.h @@ -712,7 +712,6 @@ struct dwc2_hsotg { struct regulator_bulk_data supplies[ARRAY_SIZE(dwc2_hsotg_supply_names)]; spinlock_t lock; - struct mutex init_mutex; void *priv; int irq; struct clk *clk; |