aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/scsiglue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c
index dd8b13ef2414..8c1e2954f3b9 100644
--- a/drivers/usb/storage/scsiglue.c
+++ b/drivers/usb/storage/scsiglue.c
@@ -187,6 +187,10 @@ static int slave_configure(struct scsi_device *sdev)
187 * automatically, requiring a START-STOP UNIT command. */ 187 * automatically, requiring a START-STOP UNIT command. */
188 sdev->allow_restart = 1; 188 sdev->allow_restart = 1;
189 189
190 /* Some USB cardreaders have trouble reading an sdcard's last
191 * sector in a larger then 1 sector read, since the performance
192 * impact is negible we set this flag for all USB disks */
193 sdev->last_sector_bug = 1;
190 } else { 194 } else {
191 195
192 /* Non-disk-type devices don't need to blacklist any pages 196 /* Non-disk-type devices don't need to blacklist any pages