Skip to contentSkip to conversation

mtip32xx: Fix incorrect mask used for erase mode

PATCH In review Selvan Mani 1 participant 1 message Nov 7, 2012 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 mtip32xx: Fix incorrect mask used for erase mode

Previous commit use value 3 for erasemode mask.
Changing the mask to correct value to 2

---
 drivers/block/mtip32xx/mtip32xx.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/block/mtip32xx/mtip32xx.h +1 -1
index 5f4a917..8498e99 100644
@@ -34,7 +34,7 @@
 #define PCIE_CONFIG_EXT_DEVICE_CONTROL_OFFSET	0x48
 
 /* check for erase mode support during secure erase */
-#define MTIP_SEC_ERASE_MODE     0x3
+#define MTIP_SEC_ERASE_MODE     0x2
 
 /* # of times to retry timed out/failed IOs */
 #define MTIP_MAX_RETRIES	2
Signature · 1 line
1.7.1