usb: otg: add notify_connect/notify_disconnect callback
authorRichard Zhao <richard.zhao@freescale.com>
Sat, 7 Jul 2012 14:56:44 +0000 (22:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 16:55:09 +0000 (09:55 -0700)
commit526c51382d59144a3704970ab111d668e604a10f
tree0b36e45f6d5c0c3effa096d88f8709aec1530b0e
parentca72ae9bf6b599519576142b4cb209aa79bbf867
usb: otg: add notify_connect/notify_disconnect callback

This let usb phy driver has a chance to change hw settings when connect
status change.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Subodh Nijsure <snijsure@grid-net.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/otg.h