aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_sas.h
diff options
context:
space:
mode:
authorVikram Auradkar <auradkar@google.com>2019-11-14 15:39:01 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2019-11-19 21:37:33 -0500
commit4daf1ef3c681754159411bd7ee0aecf2d43acf59 (patch)
treef08a7db1f4d6e4d348b42f1c34f3128de5de49e9 /drivers/scsi/pm8001/pm8001_sas.h
parentscsi: pm80xx: Initialize variable used as return status (diff)
downloadlinux-dev-4daf1ef3c681754159411bd7ee0aecf2d43acf59.tar.xz
linux-dev-4daf1ef3c681754159411bd7ee0aecf2d43acf59.zip
scsi: pm80xx: Convert 'long' mdelay to msleep
For delays longer than 20ms [um]delay isn't recommended. pm80xx_chip_soft_rst starts off with a 500ms delay before it even gets around to checking for the results of the reset. As long as it's at least 500ms it doesn't matter what the scheduler is doing. The delay in the pm8001_exec_internal_task_abort does nothing, and theory is this is a delay to avoid a double-free. Link: https://lore.kernel.org/r/20191114100910.6153-5-deepak.ukey@microchip.com Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Vikram Auradkar <auradkar@google.com> Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com> Signed-off-by: Viswas G <Viswas.G@microchip.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_sas.h')
0 files changed, 0 insertions, 0 deletions