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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:59 +0000 (21:38 -0800)
commitcc2a67dbcfca983943606a0c57db2853ff5cf616
treed0fc8be1b30cc58ec08f60fdc1e8bba1205b0885
parent1a7647f77e16b1e21cd0076d36f81ff22f9be67c
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