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)
committerErik Gilling <konkers@android.com>
Wed, 10 Aug 2011 00:58:49 +0000 (17:58 -0700)
commite65d9fe5564afaca75ae657179446578be73e9ba
treeece828b12ee9763b08e570c4afe32dccc97478f1
parentf3d9cdd92a341c10bf277a2b84403e7041519251
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