Skip to content

Commit

Permalink
mtip32xx: Fix incorrect mask used for erase mode
Browse files Browse the repository at this point in the history
Previous commit use value 3 for erasemode mask.
Changing the mask to correct value to 2

Signed-off-by: Selvan Mani <smani@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Selvan Mani authored and Jens Axboe committed Nov 23, 2012
1 parent eda4531 commit 4b9e884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/mtip32xx/mtip32xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b9e884

Please sign in to comment.