summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/fsl_udc_core.c
diff options
context:
space:
mode:
authorFelipe Balbi2011-06-28 15:33:46 +0200
committerGreg Kroah-Hartman2011-06-28 20:12:51 +0200
commit2ccea03a8f7ec93641791f2760d7cdc6cab6205f (patch)
tree2bdc0eae68d899420769584d64fa8282dfe1424b /drivers/usb/gadget/fsl_udc_core.c
parentUSB: deprecate g_file_storage (diff)
downloadkernel-qcow2-linux-2ccea03a8f7ec93641791f2760d7cdc6cab6205f.tar.gz
kernel-qcow2-linux-2ccea03a8f7ec93641791f2760d7cdc6cab6205f.tar.xz
kernel-qcow2-linux-2ccea03a8f7ec93641791f2760d7cdc6cab6205f.zip
usb: gadget: introduce UDC Class
this class will be used to abstract away several of the duplicated operations scattered among the USB gadget controller drivers. Later, we can add an atomic notifier to tell interested drivers about what's happening with the controller. Notifications such as suspend, resume, enumerated, etc. will be useful, at a minimum, for implementing usb charger detection. As part of the converting process usb_gadget_probe_driver() is no longer part of each udc but pushed into the ->stap() callback. The same for his couterpart. The core is currently set explicit to 'n'. It will be changed to 'y' once all users are converted since it provides functions which clash with other drivers. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/fsl_udc_core.c')
0 files changed, 0 insertions, 0 deletions