[SCSI] u14-34f: fix data direction bug

Direction of data transfer 'DMA_FROM_DEVICE' was tested twice. DTD_OUT
means transfer from host to device. This should occur when the
direction of data transfer (sc_data_direction) is 'DMA_TO_DEVICE'.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by Roel Kluin and committed by James Bottomley d6a451dd 62e9f5c4

+1 -1
+1 -1
drivers/scsi/u14-34f.c
··· 1216 1216 cpp->xdir = DTD_IN; 1217 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 1220 cpp->xdir = DTD_OUT; 1221 1221 return; 1222 1222 }