aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/cdc2.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <m.nazarewicz@samsung.com>2010-06-21 13:57:09 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 14:35:37 -0700
commit8876f5e7d3b2a320777dd4f6f5301d474c97a06c (patch)
tree7203196be21e46bef900a2f89e30a769730083f1 /drivers/usb/gadget/cdc2.c
parent3f3e12d050052032a51f75e72e540322e2a7da2b (diff)
downloadkernel_samsung_smdk4412-8876f5e7d3b2a320777dd4f6f5301d474c97a06c.zip
kernel_samsung_smdk4412-8876f5e7d3b2a320777dd4f6f5301d474c97a06c.tar.gz
kernel_samsung_smdk4412-8876f5e7d3b2a320777dd4f6f5301d474c97a06c.tar.bz2
USB: gadget: f_mass_storage: added eject callback
Added pre_eject() and post_eject() callbacks which are called before and after removable logical unit is ejected. The first can prevent logical unit from being ejected. This commit also changes the way callbacks are passed to the function from gadget. A fsg_operations structure has been created which lists all callbacks -- this is passed to the fsg_config. This is important because it changes the way thread_exits() callback is passed. Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/cdc2.c')
0 files changed, 0 insertions, 0 deletions