scsi: mpt3sas: Call cpu_relax() before calling udelay()
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Wed, 1 Sep 2021 15:25:42 +0000 (20:55 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Sep 2021 02:15:44 +0000 (22:15 -0400)
commite4953a93104c1fb1ef7989541f9867cc276467f9
tree22bc70d877de042a6a09466bae067ad3a366cc28
parent4e28550829258f7dab97383acaa477bd724c0ff4
scsi: mpt3sas: Call cpu_relax() before calling udelay()

Call cpu_relax() while waiting for the current blk-mq polling instance to
complete.

Link: https://lore.kernel.org/r/20210901152542.27866-1-sreekanth.reddy@broadcom.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c