Prechádzať zdrojové kódy

USB: g_mass_storage: most data moved to fsg_common

Most of the data from fsg_dev have been moved to fsg_common
structure.  The fsg_dev structure holds only endpoint dependent
data.  The fsg_common structure has a fsg pointer which points
to active fsg_dev structure -- endpoints are referenced via this
pointer.

This fixes the problem of several threads created when a single
instance of MSF is used in several USB configurations.

Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Nazarewicz 15 rokov pred
rodič
commit
8ea864cffd
1 zmenil súbory, kde vykonal 247 pridanie a 201 odobranie
  1. 247 201
      drivers/usb/gadget/f_mass_storage.c

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 247 - 201
drivers/usb/gadget/f_mass_storage.c


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov