From: Sylvain Rochet Date: Thu, 12 Feb 2015 17:54:06 +0000 (+0100) Subject: usb: gadget: atmel_usba_udc: condition clocks to vbus state X-Git-Tag: omap-for-v4.1/fixes-rc1~167^2~55^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64ef71ddc13fc76a6f4af8c61e0106a62004380;p=pandora-kernel.git usb: gadget: atmel_usba_udc: condition clocks to vbus state If USB PLL is not necessary for other USB drivers (e.g. OHCI and EHCI) we will reduce power consumption by switching off the USB PLL if no USB Host is currently connected to this USB Device. We are using Vbus GPIO signal to detect Host presence. If Vbus signal is not available then the device stays continuously clocked. Signed-off-by: Sylvain Rochet Acked-by: Nicolas Ferre Acked-by: Boris Brezillon Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed