diff options
author | Vikram Auradkar <[email protected]> | 2019-11-14 15:39:01 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-11-19 21:37:33 -0500 |
commit | 4daf1ef3c681754159411bd7ee0aecf2d43acf59 (patch) | |
tree | f08a7db1f4d6e4d348b42f1c34f3128de5de49e9 /drivers/usb/cdns3/cdns3-imx.c | |
parent | cef1538456ba1f965289c778c418460106d0c1c7 (diff) |
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/[email protected]
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Vikram Auradkar <[email protected]>
Signed-off-by: Deepak Ukey <[email protected]>
Signed-off-by: Viswas G <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions