[1/3] scsi: fdomain: use BCTL_RST in fdomain_reset()
diff mbox series

Message ID 2ca011ad-ece2-6481-c122-9426c4a3aa73@cogentembedded.com
State Mainlined
Commit a9651be7e4818d252e2a35f371bde79c556b1560
Headers show
  • Fix more magic values in the Future Domain drivers
Related show

Commit Message

Sergei Shtylyov July 16, 2019, 8:39 p.m. UTC
Commit 1697c6a64c49 ("scsi: fdomain: Add register definitions") somehow
missed the use of BCTL_RST in fdomain_reset(), leaving the magic number
intact.  Fix this issue (with no change in the generated object file).

Fixes: 1697c6a64c49 ("scsi: fdomain: Add register definitions")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

 drivers/scsi/fdomain.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

Index: linux/drivers/scsi/fdomain.c
--- linux.orig/drivers/scsi/fdomain.c
+++ linux/drivers/scsi/fdomain.c
@@ -166,7 +166,7 @@  static int fdomain_test_loopback(int bas
 static void fdomain_reset(int base)
-	outb(1, base + REG_BCTL);
+	outb(BCTL_RST, base + REG_BCTL);
 	outb(0, base + REG_BCTL);