usb: otg: add proxy_wait handler to otg_id
authorErik Gilling <konkers@android.com>
Tue, 9 Aug 2011 21:18:21 +0000 (14:18 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:22:42 +0000 (12:22 -0800)
commitb3230a6521431cf8592248150a99f00c33ee786e
tree96f167a3c011b625fd8be949ab079e622b779162
parent203a4f19fbe542ae2b3557e1db700b06f8515697
usb: otg: add proxy_wait handler to otg_id

Some otg_id handlers can detect what's connected but can't detect a change.
This allows that handler to pass off the waiting for ID change to a proxy.

Change-Id: Ib38b750c3da4bffc35e37b620ecee37c5d64d31f
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/usb/otg/otg_id.c
include/linux/usb/otg_id.h