]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: change phy notify connect/disconnect API
authorPeter Chen <peter.chen@freescale.com>
Fri, 9 Nov 2012 01:44:44 +0000 (09:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 01:44:51 +0000 (17:44 -0800)
commitac96511bb5cf92bad97ffc2249f75e45eb70301d
tree4558028534ad7aa6c508c9485c3435c1cdb8c60c
parentb76baa8154335a906be85f2b32d6bd1876900133
usb: phy: change phy notify connect/disconnect API

The old parameter "port" is useless for phy notify, as one usb
phy is only for one usb port. New parameter "speed" stands for
the device's speed which is on the port, this "speed" parameter
is needed at some platforms which will do some phy operations
according to device's speed.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Tested-by: Mike Thompson <mpthompson@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c
drivers/usb/otg/mxs-phy.c
include/linux/usb/phy.h