atp870u: Replace port 0x80 delay by udelay
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:24:08 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:44 +0000 (22:08 -0500)
commit2bbbac4571de7983f142ed22add59e5217674169
tree4a6b7a72fe5f89f3c952bc6f78e03db1e2068bc3
parentd804bb255ce85b1fd7dfe447da5415952ba341c5
atp870u: Replace port 0x80 delay by udelay

tscam() is using port 0x80 access for delays but that's x86-only.
Use udelay(2) instead.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/atp870u.c