summaryrefslogtreecommitdiffstats
path: root/drivers/uio
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2013-01-19 12:30:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-21 01:12:53 +0100
commitf4cc1834bdc47d0574ceffb728f256f67e1190ef (patch)
tree2fcc53dcb64fbc5990a846b68a5744d6be6eb010 /drivers/uio
parentusb: Create link files between child device and usb port device. (diff)
downloadlinux-f4cc1834bdc47d0574ceffb728f256f67e1190ef.tar.xz
linux-f4cc1834bdc47d0574ceffb728f256f67e1190ef.zip
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 <ming.lei@canonical.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions