mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
mtip32xx: Fix incorrect mask used for erase mode
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>
This commit is contained in:
parent
eda4531492
commit
4b9e884523
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user