USB: g_file_storage: add CD-ROM emulation
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 20 Nov 2008 19:13:12 +0000 (14:13 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 17:59:57 +0000 (09:59 -0800)
commit12aae68a203e97a58d3f8237fc389201a4d9282d
tree100b539dc81ed4ba4efedc1a3a99f21a5145a58b
parentdbe6e0c023578dc7b13932f73991ed92b65f3811
USB: g_file_storage: add CD-ROM emulation

This patch (as1172) adds the ability to emulate a CD-ROM drive to
g_file_storage.  The emulation is limited, since it presents as a disc
containing a single data track and no audio tracks.  Still, it may
come in useful on occasion.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/file_storage.c