aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/u14-34f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/u14-34f.c b/drivers/scsi/u14-34f.c
index 662c00451be4..58d7eee4fe81 100644
--- a/drivers/scsi/u14-34f.c
+++ b/drivers/scsi/u14-34f.c
@@ -1216,7 +1216,7 @@ static void scsi_to_dev_dir(unsigned int i, unsigned int j) {
1216 cpp->xdir = DTD_IN; 1216 cpp->xdir = DTD_IN;
1217 return; 1217 return;
1218 } 1218 }
1219 else if (SCpnt->sc_data_direction == DMA_FROM_DEVICE) { 1219 else if (SCpnt->sc_data_direction == DMA_TO_DEVICE) {
1220 cpp->xdir = DTD_OUT; 1220 cpp->xdir = DTD_OUT;
1221 return; 1221 return;
1222 } 1222 }