aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r--drivers/usb/storage/usb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index e23c30ab66da..d012fe4329e7 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -473,7 +473,7 @@ static void adjust_quirks(struct us_data *us)
473 US_FL_CAPACITY_OK | US_FL_IGNORE_RESIDUE | 473 US_FL_CAPACITY_OK | US_FL_IGNORE_RESIDUE |
474 US_FL_SINGLE_LUN | US_FL_NO_WP_DETECT | 474 US_FL_SINGLE_LUN | US_FL_NO_WP_DETECT |
475 US_FL_NO_READ_DISC_INFO | US_FL_NO_READ_CAPACITY_16 | 475 US_FL_NO_READ_DISC_INFO | US_FL_NO_READ_CAPACITY_16 |
476 US_FL_INITIAL_READ10); 476 US_FL_INITIAL_READ10 | US_FL_WRITE_CACHE);
477 477
478 p = quirks; 478 p = quirks;
479 while (*p) { 479 while (*p) {
@@ -529,6 +529,9 @@ static void adjust_quirks(struct us_data *us)
529 case 'o': 529 case 'o':
530 f |= US_FL_CAPACITY_OK; 530 f |= US_FL_CAPACITY_OK;
531 break; 531 break;
532 case 'p':
533 f |= US_FL_WRITE_CACHE;
534 break;
532 case 'r': 535 case 'r':
533 f |= US_FL_IGNORE_RESIDUE; 536 f |= US_FL_IGNORE_RESIDUE;
534 break; 537 break;