Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77167
b: refs/heads/master
c: 23c3e29
h: refs/heads/master
i:
  77165: bf1f9f0
  77163: 64e0922
  77159: bcd842a
  77151: 927825d
v: v3
  • Loading branch information
Hans de Goede authored and James Bottomley committed Jan 25, 2008
1 parent f1f2d79 commit 3a7abd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 366ca51f30de1cbb5b356c70b7bb22051c558e41
refs/heads/master: 23c3e290fb9ce38cabc2822b47583fc8702411bf
4 changes: 4 additions & 0 deletions trunk/drivers/usb/storage/scsiglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ static int slave_configure(struct scsi_device *sdev)
* automatically, requiring a START-STOP UNIT command. */
sdev->allow_restart = 1;

/* Some USB cardreaders have trouble reading an sdcard's last
* sector in a larger then 1 sector read, since the performance
* impact is negible we set this flag for all USB disks */
sdev->last_sector_bug = 1;
} else {

/* Non-disk-type devices don't need to blacklist any pages
Expand Down

0 comments on commit 3a7abd0

Please sign in to comment.