]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: add role init and destroy APIs
authorPeter Chen <peter.chen@freescale.com>
Mon, 12 Aug 2013 01:22:51 +0000 (09:22 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:49 +0000 (09:54 +0800)
commite5c1e44b802618ef9c68473c25ff64cdd9c01508
tree8eb8a24daf0a0f1bf95907e47ec23d3c3908605f
parentcfcc6e05f6eabfcb5148f725d891cc1049f79a41
usb: chipidea: add role init and destroy APIs

- The role's init will be called at probe procedure.
- The role's destroy will be called at fail patch
at probe and driver's removal.
- The role's start/stop will be called when specific
role has started.

Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/host.c
drivers/usb/chipidea/host.h
drivers/usb/chipidea/udc.c
drivers/usb/chipidea/udc.h