From: Selvan Mani Date: Wed, 7 Nov 2012 13:03:56 +0000 (-0700) Subject: mtip32xx: Fix incorrect mask used for erase mode X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b9e884523f63f7bfd6fcbcdfe6f9f9545d98c13;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Asai Thambi S P Signed-off-by: Jens Axboe --- diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index 5f4a917bd8b..8498e99666b 100644 --- a/drivers/block/mtip32xx/mtip32xx.h +++ b/drivers/block/mtip32xx/mtip32xx.h @@ -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