scsi: ppa: Fix accidentally reversed conditions for 16-bit and 32-bit EPP
authorAlex Henrie <alexhenrie24@gmail.com>
Thu, 31 Aug 2023 05:19:42 +0000 (23:19 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Sep 2023 09:26:49 +0000 (05:26 -0400)
commit31a0865bf593e59c4433a3624b4c87c40049ed9a
treeae7209039406236fdff3fca7862fa3186c5888a3
parent0b0747d507bffb827e40fc0f9fb5883fffc23477
scsi: ppa: Fix accidentally reversed conditions for 16-bit and 32-bit EPP

The conditions were correct in the ppa_in() function but not in the
ppa_out() function.

Fixes: 68a4f84a17c1 ("scsi: ppa: Add a module parameter for the transfer mode")
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Link: https://lore.kernel.org/r/20230831051945.515476-1-alexhenrie24@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ppa.c