diff options
| author | Ming Lei <[email protected]> | 2013-01-19 19:30:30 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-20 16:12:53 -0800 |
| commit | f4cc1834bdc47d0574ceffb728f256f67e1190ef (patch) | |
| tree | 2fcc53dcb64fbc5990a846b68a5744d6be6eb010 /tools/perf/scripts/python/bin | |
| parent | fde26380315d7d57816efc143b7924c82dba764d (diff) | |
USB: storage: avoid scanning other targets for single target device
This patch sets scsi_host->max_id as 1 if the device's quirk
flag of US_FL_SCM_MULT_TARG isn't set, because there are only 6
mass storage devices marked as mutiple targets from unusual_devs.h.
This patch is a small optimization about scanning targets, and
avoid scanning other 7 non-existed targets for single target
device.
Signed-off-by: Ming Lei <[email protected]>
Acked-by: Alan Stern <[email protected]>
Acked-by: Matthew Dharm <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions