From: Michael Grzeschik Date: Mon, 13 Oct 2014 01:53:03 +0000 (+0800) Subject: usb: ehci: add ehci_port_power interface X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11a7e59405148c855e0a9d13588930ccec02c150;p=pandora-kernel.git usb: ehci: add ehci_port_power interface The current EHCI implementation is prepared to toggle the PORT_POWER bit to enable or disable a USB-Port. In some cases this port power can not be just toggled by the PORT_POWER bit, and the gpio-regulator is needed to be toggled too. This patch defines a port power control interface ehci_port_power for ehci core use, it toggles PORT_POWER bit as well as calls platform defined .port_power if it is defined. Signed-off-by: Michael Grzeschik Signed-off-by: Peter Chen Acked-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed