From: Marek Szyprowski Date: Mon, 20 Oct 2014 10:45:37 +0000 (+0200) Subject: usb: dwc2: gadget: move phy control calls out of pullup() method X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~32^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c816c47fe6205b18ff6f8843c258ca35c1536dac;p=pandora-kernel.git usb: dwc2: gadget: move phy control calls out of pullup() method This patch moves phy enable/disable calls from pullup() method to udc_start/stop functions. This solves the issue related to limited caller context for PHY functions, because they cannot be called from non-sleeping context. This is also a preparation for using soft-disconnect feature of udc controller in pullup() method. Acked-by: Paul Zimmerman Signed-off-by: Marek Szyprowski Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed