USB: otg: add otg id notifier utiltiies
authorColin Cross <ccross@android.com>
Fri, 24 Jun 2011 22:58:51 +0000 (15:58 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:49 +0000 (21:38 -0800)
commit582fb947d44231d9beb85da421cffced1fe15ff9
tree79205ae653b7062a5265cc2413421ee92ff0a39e
parent32d7d15f6861c1fbecfedadc389a6322df4bf8ba
USB: otg: add otg id notifier utiltiies

Add a otg_id notifier to allow multiple drivers to cooperate to
determine the type of cable connected to a USB connector without
requiring direct calls between the drivers.

Change-Id: Ic5675f1a89daf85b17336765de24e4bdb6df6348
Signed-off-by: Colin Cross <ccross@android.com>
drivers/usb/otg/Makefile
drivers/usb/otg/otg_id.c [new file with mode: 0644]
include/linux/usb/otg_id.h [new file with mode: 0644]