usb: langwell_udc: use common OTG data structure for Intel MID platform
authorHao Wu <hao.wu@intel.com>
Thu, 25 Aug 2011 11:18:45 +0000 (12:18 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:38:08 +0000 (12:38 -0800)
commit09aba5a2c61141c4eff33bdd70f80a5c22d75241
treedf0cab6313768456c1c0b60410b773914d99e131
parentbef6239924e080bf18c2ec713105a4f982bc904f
usb: langwell_udc: use common OTG data structure for Intel MID platform

This patch provided the support to common OTG data structure.

Main changes:
- Notify otg related events using notifier and remove direct
  access to otg data structure(state machine).
- Provide start_peripheral/stop_peripheral function to transceiver.
- Provide client register/unregister function.

  modified:   drivers/usb/gadget/langwell_udc.c
  modified:   drivers/usb/gadget/langwell_udc.h

Change-Id: Icfa1f5171a2459fe7d9098c842777b488bf48aaa
Signed-off-by: Hao Wu <hao.wu@intel.com>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
drivers/usb/gadget/langwell_udc.c
drivers/usb/gadget/langwell_udc.h