Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1372592
| From | Alan Stern <stern@rowland.harvard.edu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another |
| Date | 2016-04-06 17:10 +0200 |
| Message-ID | <rkXfI-5Ne-21@gated-at.bofh.it> (permalink) |
| References | <rkHDY-2qu-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 6 Apr 2016, Michal Nazarewicz wrote: > On Tue, Apr 05 2016, Alan Stern wrote: > > Suppose one usb_function is carrying out an I/O operation while > > another one in the same config gets a Set-Interface request from the > > host. > > That cannot happen. A single instance of mass_storage cannot¹ be added > twice to the same configuration. > > ¹ To be more precise, not via configfs. A legacy gadget could do that, > but that would be a bug in that legacy driver, not f_mass_storage. > Moreover, no current legacy gadgets do that though so IMO this is an > academic discussion. Okay. Then I suggest adding this explanation to the patch description. BTW, is configfs capable of adding a single instance twice in different configs? Or is that again something only legacy gadgets can do? Alan Stern
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] usb: f_mass_storage: test whether thread is running before starting another Michal Nazarewicz <mina86@mina86.com> - 2016-04-05 19:30 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Alan Stern <stern@rowland.harvard.edu> - 2016-04-05 19:50 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Michal Nazarewicz <mina86@mina86.com> - 2016-04-05 20:10 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Alan Stern <stern@rowland.harvard.edu> - 2016-04-05 20:40 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Michal Nazarewicz <mina86@mina86.com> - 2016-04-06 00:30 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Alan Stern <stern@rowland.harvard.edu> - 2016-04-06 17:10 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Michal Nazarewicz <mina86@mina86.com> - 2016-04-07 12:00 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Alan Stern <stern@rowland.harvard.edu> - 2016-04-07 16:30 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-04-07 16:50 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-04-07 23:00 +0200
Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another Michal Nazarewicz <mina86@mina86.com> - 2016-04-07 18:50 +0200
csiph-web